mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-01-19 03:57:14 +01:00
Update CMakeLists.txt
This commit is contained in:
parent
8c4d9a0269
commit
30c3c05fe9
15
vendor/CPR/CMakeLists.txt
vendored
15
vendor/CPR/CMakeLists.txt
vendored
@ -129,7 +129,8 @@ if(NOT USE_SYSTEM_CURL OR NOT CURL_FOUND)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
# GTest configuration
|
# GTest configuration
|
||||||
#[[if(BUILD_CPR_TESTS)
|
#[[
|
||||||
|
if(BUILD_CPR_TESTS)
|
||||||
if(USE_SYSTEM_GTEST)
|
if(USE_SYSTEM_GTEST)
|
||||||
find_package(GTest)
|
find_package(GTest)
|
||||||
endif()
|
endif()
|
||||||
@ -157,11 +158,13 @@ endif()
|
|||||||
set_property(TARGET gtest PROPERTY FOLDER "tests/gtest")
|
set_property(TARGET gtest PROPERTY FOLDER "tests/gtest")
|
||||||
set_property(TARGET gtest_main PROPERTY FOLDER "tests/gtest")
|
set_property(TARGET gtest_main PROPERTY FOLDER "tests/gtest")
|
||||||
endif()
|
endif()
|
||||||
endif()]]
|
endif()
|
||||||
|
]]
|
||||||
|
|
||||||
|
|
||||||
# Mongoose configuration
|
# Mongoose configuration
|
||||||
#[[if(BUILD_CPR_TESTS)
|
#[[
|
||||||
|
if(BUILD_CPR_TESTS)
|
||||||
message(STATUS "Building mongoose project for test support.")
|
message(STATUS "Building mongoose project for test support.")
|
||||||
if (SSL_ENABLED)
|
if (SSL_ENABLED)
|
||||||
find_package(OpenSSL)
|
find_package(OpenSSL)
|
||||||
@ -190,12 +193,14 @@ endif()]]
|
|||||||
# Group under the "external" project folder in IDEs such as Visual Studio.
|
# Group under the "external" project folder in IDEs such as Visual Studio.
|
||||||
set_property(TARGET mongoose PROPERTY FOLDER "external")
|
set_property(TARGET mongoose PROPERTY FOLDER "external")
|
||||||
endif()
|
endif()
|
||||||
|
]]
|
||||||
|
|
||||||
add_subdirectory(cpr)
|
add_subdirectory(cpr)
|
||||||
add_subdirectory(include)
|
add_subdirectory(include)
|
||||||
|
|
||||||
|
#[[
|
||||||
if(BUILD_CPR_TESTS)
|
if(BUILD_CPR_TESTS)
|
||||||
enable_testing()
|
enable_testing()
|
||||||
add_subdirectory(test)
|
add_subdirectory(test)
|
||||||
endif()]]
|
endif()
|
||||||
|
]]
|
Loading…
x
Reference in New Issue
Block a user