Unverified Commit 74f63c11 authored by Jelin's avatar Jelin Committed by GitHub
Browse files

Move CTest to test entry (#1181)

parent 987a6042
......@@ -18,7 +18,6 @@ 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)
......@@ -179,6 +178,7 @@ endif()
unset(CONFIG_EXPORT_DIR)
if(YAML_CPP_BUILD_TESTS)
include(CTest)
add_subdirectory(test)
endif()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment