diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-08 06:58:59 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-08 06:58:59 +0000 |
commit | 7b227bd6ed94b3972dc84667dd5c726fa488c6e8 (patch) | |
tree | 4a23362f406a8348e4237cedd60eab228f2f601e /qt3 | |
parent | 38689594447d4ba3d4d80edfc307a2893b13cd81 (diff) | |
download | kgtk-qt3-7b227bd6ed94b3972dc84667dd5c726fa488c6e8.tar.gz kgtk-qt3-7b227bd6ed94b3972dc84667dd5c726fa488c6e8.zip |
Fix up build system for TQt
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kgtk-qt3@1230843 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'qt3')
-rw-r--r-- | qt3/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/qt3/CMakeLists.txt b/qt3/CMakeLists.txt index b35b6b7..bfada15 100644 --- a/qt3/CMakeLists.txt +++ b/qt3/CMakeLists.txt @@ -1,6 +1,11 @@ set(QT_MT_REQUIRED TRUE) find_package(Qt3) +if (NOT QT_INCLUDE_DIR) + MESSAGE(STATUS_ERROR "Qt3 package not found--assuming TQt4") + SET(QT_INCLUDE_DIR "/usr/include/qt4" CACHE PATH "" FORCE) +endif (NOT QT_INCLUDE_DIR) + if (QT_INCLUDE_DIR) message("** INFORMATION: Qt3 LD_PRELOAD library will be built.") |