mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
37 lines
812 B
CMake
37 lines
812 B
CMake
project(kdewidgets)
|
|
|
|
add_subdirectory(pics)
|
|
|
|
include_directories(
|
|
${KDE4_KIO_INCLUDES}
|
|
${CMAKE_SOURCE_DIR}/kutils/kmediaplayer
|
|
# for the export header
|
|
${CMAKE_BINARY_DIR}/kutils/kmediaplayer
|
|
)
|
|
|
|
########### next target ###############
|
|
|
|
add_executable(makekdewidgets makekdewidgets.cpp)
|
|
target_link_libraries(makekdewidgets kdecore)
|
|
|
|
install(
|
|
TARGETS makekdewidgets
|
|
EXPORT kdelibsTargets
|
|
DESTINATION ${KDE4_BIN_INSTALL_DIR}
|
|
)
|
|
|
|
########### next target ###############
|
|
|
|
if(QT_QTUITOOLS_FOUND)
|
|
kde4_add_widget(kdewidgets_SRCS kde.widgets)
|
|
|
|
kde4_add_plugin(kdewidgets ${kdewidgets_SRCS})
|
|
|
|
target_link_libraries(kdewidgets kio kmediaplayer)
|
|
|
|
install(
|
|
TARGETS kdewidgets
|
|
DESTINATION ${KDE4_PLUGIN_INSTALL_DIR}/plugins/designer
|
|
)
|
|
endif(QT_QTUITOOLS_FOUND)
|
|
|