Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/onqtam/doctest.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViktor Kirilov <vik.kirilov@gmail.com>2017-11-04 19:34:54 +0300
committerGitHub <noreply@github.com>2017-11-04 19:34:54 +0300
commit79a379827251cd819c5286070834ccd0ac628af9 (patch)
tree261796b208a9b69baa9a16a9a14379b33ef23a50 /CMakeLists.txt
parentbdb5c2b1b1f392135afdeb51f02538e423c6ccb2 (diff)
Correct DOCTEST_NO_INSTALL logic; do install unless it is set (#99) (#100)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
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}"