diff --git a/CMakeLists.txt b/CMakeLists.txt index 418997f1..2f90a3f0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -36,11 +36,11 @@ if (CMAKE_SYSTEM_NAME MATCHES "Darwin") if (HOMEBREW AND CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "arm64") include_directories("/opt/homebrew/include") link_directories("/opt/homebrew/lib") - include_directories("/opt/homebrew/opt/openssl@1.1/include") - link_directories("/opt/homebrew/opt/openssl@1.1/lib") + include_directories("/opt/homebrew/opt/openssl/include") + link_directories("/opt/homebrew/opt/openssl/lib") else() - include_directories("/usr/local/opt/openssl@1.1/include") - link_directories("/usr/local/opt/openssl@1.1/lib") + include_directories("/usr/local/opt/openssl/include") + link_directories("/usr/local/opt/openssl/lib") endif() set(HAVE_VROUTE ON) elseif(CMAKE_SYSTEM_NAME MATCHES "OpenBSD")