You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kgtk-qt3/kdialogd4/CMakeLists.txt

17 lines
838 B

find_package(KDE4)
find_package(Qt4)
if (KDE4_FOUND)
message("** INFORMATION: KDialogD for KDE4 will be built.")
include (KDE4Defaults)
include_directories (${CMAKE_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_SOURCE_DIR}/common ${CMAKE_BINARY_DIR} ${KDE4_INCLUDE_DIR} ${QT_INCLUDE_DIR})
set(kdialogd4_bin_SRCS kdialogd.cpp)
kde4_add_executable(kdialogd4_bin ${kdialogd4_bin_SRCS})
set_target_properties(kdialogd4_bin PROPERTIES OUTPUT_NAME kdialogd4)
target_link_libraries(kdialogd4_bin ${KDE4_KDEUI_LIBS} ${KDE4_KIO_LIBS} ${KDE4_KIO_LIBS} ${KDE4_KDECORE_LIBRARY} kfile )
install(TARGETS kdialogd4_bin ${INSTALL_TARGETS_DEFAULT_ARGS} )
add_subdirectory(po)
else (KDE4_FOUND)
message("** ERROR : Could not locate Qt4/KDE4 headers, KDialogD for KDE4 will not be built.")
endif (KDE4_FOUND)