2012-01-18 10:32:49 +01:00
|
|
|
project(localebindings)
|
|
|
|
|
2012-02-14 02:03:51 +01:00
|
|
|
include(KDE4Defaults)
|
|
|
|
|
2012-01-18 10:32:49 +01:00
|
|
|
set(localebindings_SRCS
|
|
|
|
locale.cpp
|
2012-02-14 03:08:46 +01:00
|
|
|
localebindingsplugin.cpp
|
2012-03-09 12:37:20 +01:00
|
|
|
calendarsystem.cpp
|
2012-02-01 10:44:11 +01:00
|
|
|
)
|
2012-01-18 10:32:49 +01:00
|
|
|
|
|
|
|
INCLUDE_DIRECTORIES(
|
|
|
|
${CMAKE_SOURCE_DIR}
|
|
|
|
${CMAKE_BINARY_DIR}
|
|
|
|
${KDE4_INCLUDES}
|
|
|
|
)
|
|
|
|
|
|
|
|
qt4_automoc(${localebindings_SRCS})
|
|
|
|
|
|
|
|
|
2012-02-14 02:03:51 +01:00
|
|
|
kde4_add_library(localebindingsplugin SHARED ${localebindings_SRCS})
|
2012-03-09 12:37:20 +01:00
|
|
|
|
|
|
|
target_link_libraries(localebindingsplugin ${QT_QTDECLARATIVE_LIBRARY} ${KDE4_KDECORE_LIBRARY})
|
2012-01-18 10:32:49 +01:00
|
|
|
|
|
|
|
install(TARGETS localebindingsplugin DESTINATION ${IMPORTS_INSTALL_DIR}/org/kde/plasma/locale)
|
|
|
|
install(FILES qmldir DESTINATION ${IMPORTS_INSTALL_DIR}/org/kde/plasma/locale)
|