diff options
author | Viktor Kirilov <vik.kirilov@gmail.com> | 2017-11-04 19:34:54 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-04 19:34:54 +0300 |
commit | 79a379827251cd819c5286070834ccd0ac628af9 (patch) | |
tree | 261796b208a9b69baa9a16a9a14379b33ef23a50 /CMakeLists.txt | |
parent | bdb5c2b1b1f392135afdeb51f02538e423c6ccb2 (diff) |
Correct DOCTEST_NO_INSTALL logic; do install unless it is set (#99) (#100)
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 c0a7ed5b..c7e4fcf1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -57,7 +57,7 @@ write_basic_package_version_file( configure_file("scripts/cmake/Config.cmake.in" "${project_config}" @ONLY) -if (${DOCTEST_NO_INSTALL}) +if (NOT ${DOCTEST_NO_INSTALL}) install( TARGETS ${PROJECT_NAME} EXPORT "${targets_export_name}" |