From 7dbf0d862fe8a3b76afac84d6b874866884992b7 Mon Sep 17 00:00:00 2001 From: Kodekarl Date: Tue, 19 Dec 2017 23:49:37 +0100 Subject: [PATCH] Use keyword NOT instead of ! Cmake does not understand '!'. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 75dbdf0..33bfc69 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,7 +13,7 @@ if(INSTALL_HEADERS) install(DIRECTORY include/ DESTINATION include) endif() -if(!BUILD_TESTS AND !BUILD_EXAMPLES) +if(NOT BUILD_TESTS AND NOT BUILD_EXAMPLES) return() endif()