mirror of https://github.com/axmolengine/axmol.git
Improve cmake
This commit is contained in:
parent
798e0fe1a1
commit
71f3e15308
|
@ -200,7 +200,9 @@ if(NOT LINUX)
|
|||
set(CURL_DISABLE_TESTS TRUE CACHE BOOL "Disable curl tests building." 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)
|
||||
set(CURL_BUILD_SHARED_LIBS TRUE CACHE BOOL "" FORCE)
|
||||
else()
|
||||
set(CURL_BUILD_SHARED_LIBS FALSE CACHE BOOL "" FORCE)
|
||||
endif()
|
||||
add_subdirectory(curl)
|
||||
configure_target_outdir(libcurl)
|
||||
|
|
Loading…
Reference in New Issue