From efce4a8d7a99861a725d9cf7c906fbf0239e05a0 Mon Sep 17 00:00:00 2001 From: Richard Peters Date: Fri, 6 Oct 2023 10:02:15 +0200 Subject: [PATCH] Remove BUILD_TESTING as prerequisite for the PUGIXML_BUILD_TESTS; it was always set by including CTest, now CTest is conditionally included later on --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 48bc75f..985131a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,7 +25,7 @@ cmake_dependent_option(PUGIXML_STATIC_CRT cmake_dependent_option(PUGIXML_BUILD_TESTS "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 set(PUGIXML_BUILD_DEFINES CACHE STRING "Build defines for custom options")