mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-24 10:52:53 +00:00
29 lines
658 B
CMake
29 lines
658 B
CMake
# Project Needs a name ofcourse
|
|
project(UnitConverter)
|
|
|
|
include_directories(
|
|
${CMAKE_SOURCE_DIR}
|
|
${CMAKE_BINARY_DIR}
|
|
${KDE4_INCLUDES}
|
|
${CONVERSION_INCLUDES}
|
|
)
|
|
|
|
# We add our source code here
|
|
set(unitconverter_SRCS unitconverter.cpp)
|
|
|
|
# Now make sure all files get to the right place
|
|
kde4_add_plugin(plasma_applet_unitconverter ${unitconverter_SRCS})
|
|
target_link_libraries(plasma_applet_unitconverter
|
|
${KDE4_PLASMA_LIBS}
|
|
${KDE4_KDEUI_LIBS}
|
|
)
|
|
|
|
install(
|
|
TARGETS plasma_applet_unitconverter
|
|
DESTINATION ${KDE4_PLUGIN_INSTALL_DIR}
|
|
)
|
|
|
|
install(
|
|
FILES plasma-applet-unitconverter.desktop
|
|
DESTINATION ${KDE4_SERVICES_INSTALL_DIR}
|
|
)
|