summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2018-09-17 01:48:22 +0200
committerSlávek Banko <slavek.banko@axis.cz>2018-09-17 01:48:22 +0200
commit6d969891e2445b41a9acf53ee8e83a1eb8672593 (patch)
treeeb2eccee809d163b55484df9cd64b8bab2641986
parent35b16fd59117accba92031f5cb5f98f3d361d9b3 (diff)
downloadtqtinterface-6d969891e2445b41a9acf53ee8e83a1eb8672593.tar.gz
tqtinterface-6d969891e2445b41a9acf53ee8e83a1eb8672593.zip
Conversion QT_THREAD_SUPPORT -> TQT_THREAD_SUPPORT
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--ConfigureChecks.cmake6
1 files changed, 5 insertions, 1 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 2f8204f..a210e98 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -168,7 +168,11 @@ endif( )
# definitions
if( QT_VERSION STREQUAL "3" )
- set( QT_DEFINITIONS "-DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT" )
+ if( HAVE_REAL_TQT )
+ set( QT_DEFINITIONS "-DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DTQT_THREAD_SUPPORT -D_REENTRANT" )
+ else( )
+ set( QT_DEFINITIONS "-DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT" )
+ endif( )
elseif( QT_VERSION STREQUAL "4" )
set( QT_DEFINITIONS "-DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT" )
endif( )