mirror of
https://github.com/zeux/pugixml.git
synced 2024-12-27 13:33:17 +08:00
Remove BUILD_TESTING as prerequisite for the PUGIXML_BUILD_TESTS; it was always set by including CTest, now CTest is conditionally included later on
This commit is contained in:
parent
a468d5c438
commit
efce4a8d7a
@ -25,7 +25,7 @@ cmake_dependent_option(PUGIXML_STATIC_CRT
|
|||||||
|
|
||||||
cmake_dependent_option(PUGIXML_BUILD_TESTS
|
cmake_dependent_option(PUGIXML_BUILD_TESTS
|
||||||
"Build pugixml tests" OFF
|
"Build pugixml tests" OFF
|
||||||
"BUILD_TESTING;CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR" OFF)
|
"CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR" OFF)
|
||||||
|
|
||||||
# Custom build defines
|
# Custom build defines
|
||||||
set(PUGIXML_BUILD_DEFINES CACHE STRING "Build defines for custom options")
|
set(PUGIXML_BUILD_DEFINES CACHE STRING "Build defines for custom options")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user