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