Move enable_testing() into proper place
This commit is contained in:
parent
5d5bb52ec2
commit
2aa08cf7ad
@ -31,8 +31,6 @@ set(YAML_CPP_VERSION_MINOR "6")
|
|||||||
set(YAML_CPP_VERSION_PATCH "0")
|
set(YAML_CPP_VERSION_PATCH "0")
|
||||||
set(YAML_CPP_VERSION "${YAML_CPP_VERSION_MAJOR}.${YAML_CPP_VERSION_MINOR}.${YAML_CPP_VERSION_PATCH}")
|
set(YAML_CPP_VERSION "${YAML_CPP_VERSION_MAJOR}.${YAML_CPP_VERSION_MINOR}.${YAML_CPP_VERSION_PATCH}")
|
||||||
|
|
||||||
enable_testing()
|
|
||||||
|
|
||||||
|
|
||||||
###
|
###
|
||||||
### Project options
|
### Project options
|
||||||
@ -351,6 +349,7 @@ endif()
|
|||||||
### Extras
|
### Extras
|
||||||
###
|
###
|
||||||
if(YAML_CPP_BUILD_TESTS)
|
if(YAML_CPP_BUILD_TESTS)
|
||||||
|
enable_testing()
|
||||||
add_subdirectory(test)
|
add_subdirectory(test)
|
||||||
endif()
|
endif()
|
||||||
if(YAML_CPP_BUILD_TOOLS)
|
if(YAML_CPP_BUILD_TOOLS)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user