mirror of https://github.com/axmolengine/axmol.git
Update cmakelist
This commit is contained in:
parent
482793036d
commit
3a3c4ed518
|
@ -195,8 +195,10 @@ if(NOT LINUX)
|
||||||
if(BUILD_EXT_CURL)
|
if(BUILD_EXT_CURL)
|
||||||
set(BUILD_CURL_EXE FALSE CACHE BOOL "Set to OFF to build curl executable." FORCE)
|
set(BUILD_CURL_EXE FALSE CACHE BOOL "Set to OFF to build curl executable." FORCE)
|
||||||
set(CURL_DISABLE_TESTS TRUE CACHE BOOL "Disable curl tests building." FORCE)
|
set(CURL_DISABLE_TESTS TRUE CACHE BOOL "Disable curl tests building." FORCE)
|
||||||
set(CURL_BUILD_SHARED_LIBS TRUE CACHE BOOL "Set to ON to build curl executable." FORCE)
|
|
||||||
set(CMAKE_USE_OPENSSL TRUE CACHE BOOL "Use openssl for curl" FORCE)
|
set(CMAKE_USE_OPENSSL TRUE CACHE BOOL "Use openssl for curl" FORCE)
|
||||||
|
if(WIN32)
|
||||||
|
set(CURL_BUILD_SHARED_LIBS TRUE CACHE BOOL "Set to ON to build curl executable." FORCE)
|
||||||
|
endif()
|
||||||
message("######## OPENSSL_CRYPTO_LIBRARY=${OPENSSL_CRYPTO_LIBRARY}")
|
message("######## OPENSSL_CRYPTO_LIBRARY=${OPENSSL_CRYPTO_LIBRARY}")
|
||||||
message("######## OPENSSL_SSL_LIBRARY=${OPENSSL_SSL_LIBRARY}")
|
message("######## OPENSSL_SSL_LIBRARY=${OPENSSL_SSL_LIBRARY}")
|
||||||
add_subdirectory(curl)
|
add_subdirectory(curl)
|
||||||
|
|
Loading…
Reference in New Issue