OSDN Git Service

use (almost) the same compat conditions in KatieConfig and Qt4UseFile
authorIvailo Monev <xakepa10@laimg.moc>
Mon, 7 Aug 2017 07:15:50 +0000 (07:15 +0000)
committerIvailo Monev <xakepa10@laimg.moc>
Mon, 7 Aug 2017 07:15:50 +0000 (07:15 +0000)
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
cmake/Qt4UseFile.cmake

index b0ad5e1..cc5c3e0 100644 (file)
@@ -3,7 +3,7 @@
 # header paths and definitions that may otherwise not be wanted. It is also ment to be included
 # after KatieConfig.cmake which defines KATIE_DEFINITIONS and KATIE_INCLUDES. End of drama.
 
-if(KATIE_COMPAT)
+if(NOT KATIE_COMPAT EQUAL FALSE AND NOT KATIE_COMPAT EQUAL OFF)
     add_definitions(${KATIE_DEFINITIONS})
     include_directories(${KATIE_INCLUDES})
 endif()
\ No newline at end of file