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 /kdialogd3 | |
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 'kdialogd3')
-rw-r--r-- | kdialogd3/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kdialogd3/CMakeLists.txt b/kdialogd3/CMakeLists.txt index 6e054c1..2ee2569 100644 --- a/kdialogd3/CMakeLists.txt +++ b/kdialogd3/CMakeLists.txt @@ -2,6 +2,11 @@ set(QT_MT_REQUIRED TRUE) find_package(KDE3) 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 (KDE3_INCLUDE_DIR) message("** INFORMATION: KDialogD for KDE3 will be built.") link_directories(${KDE3_LIB_DIR}) |