From 488c34f2952ce6e3d14e138b55bb0a29f2c8c6c0 Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Mon, 7 Aug 2017 07:15:50 +0000 Subject: [PATCH] use (almost) the same compat conditions in KatieConfig and Qt4UseFile Signed-off-by: Ivailo Monev --- cmake/Qt4UseFile.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/Qt4UseFile.cmake b/cmake/Qt4UseFile.cmake index b0ad5e1bd..cc5c3e0b7 100644 --- a/cmake/Qt4UseFile.cmake +++ b/cmake/Qt4UseFile.cmake @@ -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 -- 2.11.0