blob: 6e054c14992ed90d1797980184276a39a2b92dc8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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)
|