diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-09 20:27:19 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-09 20:27:19 +0000 |
commit | c6ca83d07d95e076b09bd802f66ba72d363b0235 (patch) | |
tree | f13000febb0c9c5a5da621b4bba53ba3eace022e /kdialogd3/CMakeLists.txt | |
download | kgtk-qt3-c6ca83d07d95e076b09bd802f66ba72d363b0235.tar.gz kgtk-qt3-c6ca83d07d95e076b09bd802f66ba72d363b0235.zip |
* Added kgtk-qt3
* Slight kpowersave message cleanup
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kgtk-qt3@1173604 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdialogd3/CMakeLists.txt')
-rw-r--r-- | kdialogd3/CMakeLists.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/kdialogd3/CMakeLists.txt b/kdialogd3/CMakeLists.txt new file mode 100644 index 0000000..6e054c1 --- /dev/null +++ b/kdialogd3/CMakeLists.txt @@ -0,0 +1,17 @@ +set(QT_MT_REQUIRED TRUE) +find_package(KDE3) +find_package(Qt3) + +if (KDE3_INCLUDE_DIR) + message("** INFORMATION: KDialogD for KDE3 will be built.") + link_directories(${KDE3_LIB_DIR}) + include_directories (${CMAKE_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_SOURCE_DIR}/common ${CMAKE_BINARY_DIR} ${KDE3_INCLUDE_DIR} ${QT_INCLUDE_DIR}) + set(kdialogd3_SRCS kdialogd.cpp) + kde3_automoc(${kdialogd3_SRCS}) + add_executable(kdialogd3 ${kdialogd3_SRCS}) + target_link_libraries(kdialogd3 kdeui kio kdecore) + install_targets(/bin kdialogd3) + add_subdirectory(po) +else (KDE3_INCLUDE_DIR) + message("** ERROR : Could not locate Qt3/KDE3 headers, KDialogD for KDE3 will not be built.") +endif (KDE3_INCLUDE_DIR) |