diff options
author | Richard Peters <richard.peters@philips.com> | 2023-10-06 09:51:29 +0200 |
---|---|---|
committer | Richard Peters <richard.peters@philips.com> | 2023-10-06 09:51:29 +0200 |
commit | a468d5c4388ddae2b1dcaa10c849b9098f8257b0 (patch) | |
tree | 81836dc155274317c5142bc6a18dcbb73a2ba53b /CMakeLists.txt | |
parent | db78afc2b7d8f043b4bc6b185635d949ea2ed2a8 (diff) | |
download | pugixml-a468d5c4388ddae2b1dcaa10c849b9098f8257b0.zip pugixml-a468d5c4388ddae2b1dcaa10c849b9098f8257b0.tar.gz pugixml-a468d5c4388ddae2b1dcaa10c849b9098f8257b0.tar.bz2 |
Only include CTest when building the pugixml tests
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index d3f810e..48bc75f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,7 +10,6 @@ project(pugixml VERSION 1.14 LANGUAGES CXX) include(CMakePackageConfigHelpers) include(CMakeDependentOption) include(GNUInstallDirs) -include(CTest) cmake_dependent_option(PUGIXML_USE_VERSIONED_LIBDIR "Use a private subdirectory to install the headers and libraries" OFF @@ -240,6 +239,7 @@ install( ${CMAKE_INSTALL_INCLUDEDIR}${versioned-dir} COMPONENT ${PUGIXML_DEVELOPMENT_COMPONENT}) if (PUGIXML_BUILD_TESTS) + include(CTest) set(fuzz-pattern "tests/fuzz_*.cpp") set(test-pattern "tests/*.cpp") if (CMAKE_VERSION VERSION_GREATER 3.11) |