mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 19:02:48 +00:00
48 lines
1 KiB
CMake
48 lines
1 KiB
CMake
project(knotify)
|
|
|
|
include_directories(${KDE4_KIO_INCLUDES})
|
|
include_directories(BEFORE ${KDE4_PHONON_INCLUDES})
|
|
|
|
if(ENABLE_TESTING)
|
|
add_subdirectory(tests)
|
|
endif()
|
|
|
|
########### next target ###############
|
|
|
|
set(knotifyconfig_LIB_SRCS
|
|
knotifyconfigactionswidget.cpp
|
|
knotifyconfigelement.cpp
|
|
knotifyeventlist.cpp
|
|
knotifyconfigwidget.cpp
|
|
knotifyconfigactionswidgetbase.ui
|
|
)
|
|
|
|
add_library(knotifyconfig ${LIBRARY_TYPE} ${knotifyconfig_LIB_SRCS})
|
|
|
|
# Needs KIO for KUrlRequester
|
|
target_link_libraries(knotifyconfig
|
|
${KDE4_KIO_LIBS}
|
|
${KDE4_PHONON_LIBS}
|
|
${KDE4_KDECORE_LIBS}
|
|
${QT_QTGUI_LIBRARY}
|
|
)
|
|
|
|
set_target_properties(knotifyconfig PROPERTIES
|
|
VERSION ${GENERIC_LIB_VERSION}
|
|
SOVERSION ${GENERIC_LIB_SOVERSION}
|
|
)
|
|
install(
|
|
TARGETS knotifyconfig
|
|
EXPORT kdelibsLibraryTargets
|
|
${INSTALL_TARGETS_DEFAULT_ARGS}
|
|
)
|
|
|
|
########### install files ###############
|
|
|
|
install(
|
|
FILES
|
|
knotifyconfig_export.h
|
|
knotifyconfigwidget.h
|
|
DESTINATION ${INCLUDE_INSTALL_DIR}
|
|
COMPONENT Devel
|
|
)
|