summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-28 01:49:15 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-28 01:49:15 -0600
commit42cf2b0d14161472ace9b5c7119b850be8e93741 (patch)
treead29a9708e68f6e839c7f76c3ca7c618784404d3 /ConfigureChecks.cmake
parent27917305452f2a55ae3be74e83b8a724248ec43f (diff)
downloadtqtinterface-42cf2b0d14161472ace9b5c7119b850be8e93741.tar.gz
tqtinterface-42cf2b0d14161472ace9b5c7119b850be8e93741.zip
Update tqt3 compat
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index ff5fe8c..0f320c2 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -173,7 +173,7 @@ if( QT_VERSION STREQUAL "3" )
set( CMAKE_REQUIRED_LIBRARIES -L${QT_LIBRARY_DIR} ${QT_LIBRARIES} )
qt_message( "Looking for native TQt3..." )
check_cxx_source_compiles("
- #include <qapplication.h>
+ #include <ntqapplication.h>
int main(int argc, char **argv) { TQApplication app(argc, argv); return 0; } "
HAVE_USABLE_QT${QT_VERSION} )
endif( )
@@ -203,8 +203,8 @@ if( QT_VERSION STREQUAL "3" )
set( CMAKE_REQUIRED_LIBRARIES -L${QT_LIBRARY_DIR} ${QT_LIBRARIES} )
qt_message( "Looking for patched native TQt3..." )
check_cxx_source_compiles("
- #include <qobjectlist.h>
- #include <qobject.h>
+ #include <ntqobjectlist.h>
+ #include <ntqobject.h>
int main(int, char**) { TQObject::objectTreesListObject(); return 0; } "
HAVE_PATCHED_QT3 )
endif( )