Skip to content

Commit

Permalink
Revert "Move CTest to test entry (jbeder#1181)" (jbeder#1182)
Browse files Browse the repository at this point in the history
This reverts commit 74f63c1.
  • Loading branch information
jbeder authored Mar 23, 2023
1 parent 74f63c1 commit 0e6e28d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -178,7 +179,6 @@ endif()
unset(CONFIG_EXPORT_DIR)

if(YAML_CPP_BUILD_TESTS)
include(CTest)
add_subdirectory(test)
endif()

Expand Down

0 comments on commit 0e6e28d

Please sign in to comment.