From 143d1e37c625d436947e222be264324f01973832 Mon Sep 17 00:00:00 2001 From: Jesse Beder Date: Wed, 22 Mar 2023 19:13:45 -0500 Subject: [PATCH] Revert "Move CTest to test entry (#1181)" This reverts commit 74f63c1181533923d5312596ba06b4fc8d10a387. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 428f527..6ef6e8a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,6 +18,7 @@ include(CMakePackageConfigHelpers) include(CMakeDependentOption) include(CheckCXXCompilerFlag) include(GNUInstallDirs) +include(CTest) option(YAML_CPP_BUILD_CONTRIB "Enable yaml-cpp contrib in library" ON) option(YAML_CPP_BUILD_TOOLS "Enable parse tools" ON) @@ -178,7 +179,6 @@ endif() unset(CONFIG_EXPORT_DIR) if(YAML_CPP_BUILD_TESTS) - include(CTest) add_subdirectory(test) endif()