use (almost) the same compat conditions in KatieConfig and Qt4UseFile

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
Ivailo Monev 2017-08-07 07:15:50 +00:00
parent 4697960c57
commit 488c34f295

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