mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
20 lines
741 B
Diff
20 lines
741 B
Diff
--- CMakeLists.txt.orig 2020-03-19 10:45:53.000000000 -0500
|
|
+++ CMakeLists.txt 2020-08-02 22:39:27.000000000 -0500
|
|
@@ -292,14 +292,14 @@
|
|
${OPENSSL_ROOT}/lib/libssl.lib
|
|
${OPENSSL_ROOT}/lib/libcrypto.lib
|
|
)
|
|
-elseif (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
|
+elseif (FALSE)
|
|
set (OPENSSL_ROOT /usr/local/opt/openssl)
|
|
include_directories (BEFORE SYSTEM ${OPENSSL_ROOT}/include)
|
|
set (OPENSSL_LIBS
|
|
${OPENSSL_ROOT}/lib/libssl.a
|
|
${OPENSSL_ROOT}/lib/libcrypto.a
|
|
)
|
|
-elseif (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
|
+elseif (${CMAKE_SYSTEM_NAME} MATCHES "Linux" OR ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
|
set (OPENSSL_LIBS ssl crypto)
|
|
else()
|
|
message (FATAL_ERROR "Couldn't find OpenSSL")
|