-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
26 lines (20 loc) · 956 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
project(plasma-drop2imageshack)
cmake_minimum_required(VERSION 2.6)
find_package(KDE4 REQUIRED)
find_package(CURL REQUIRED)
include(KDE4Defaults)
add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
include_directories(${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${KDE4_INCLUDES}
${CURL_INCLUDE_DIR})
set(drop2imageshack_SRCS
drop2imageshack.cpp imageuploader.cpp progresslabel.cpp)
#kde4_add_ui_files(drop2imageshack_SRCS settings.ui theme.ui)
kde4_add_plugin(plasma_applet_drop2imageshack ${drop2imageshack_SRCS})
target_link_libraries(plasma_applet_drop2imageshack
${KDE4_PLASMA_LIBS} ${KDE4_KDEUI_LIBS} ${KDE4_KIO_LIBS} ${CURL_LIBRARY})
install(TARGETS plasma_applet_drop2imageshack
DESTINATION ${PLUGIN_INSTALL_DIR})
install(FILES plasma-applet-drop2imageshack.desktop
DESTINATION ${SERVICES_INSTALL_DIR})
install(FILES plasma-applet-drop2imageshack.notifyrc
DESTINATION ${DATA_INSTALL_DIR}/plasma-applet-drop2imageshack)