mirror of
https://github.com/etlegacy/etlegacy-libs.git
synced 2025-04-10 00:11:19 +00:00
cmake: force to search for static libs
This commit is contained in:
parent
806349f24e
commit
91705d7cc5
1 changed files with 3 additions and 0 deletions
|
@ -542,6 +542,9 @@ if(BUNDLED_CURL AND (BUILD_CLIENT OR BUILD_SERVER))
|
|||
-DCMAKE_INCLUDE_PATH=${LIBS_BINARY_DIR}/wolfssl/include
|
||||
)
|
||||
elseif(BUNDLED_OPENSSL)
|
||||
if(CMAKE_CROSSCOMPILING)
|
||||
list(APPEND CURL_CMAKE_ARGS -DOPENSSL_USE_STATIC_LIBS=0N)
|
||||
endif()
|
||||
list(APPEND CURL_CMAKE_ARGS -DOPENSSL_ROOT_DIR=${OPENSSL_PREFIX} -DCURL_USE_OPENSSL=ON -DCURL_USE_WOLFSSL=OFF)
|
||||
else()
|
||||
message(WARNING "Using system OpenSSL")
|
||||
|
|
Loading…
Reference in a new issue