Use keyword NOT instead of !

Cmake does not understand '!'.
This commit is contained in:
Kodekarl 2017-12-19 23:49:37 +01:00
parent 4be2a79a37
commit 7dbf0d862f

View File

@ -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()