diff --git a/declarativeimports/locale/CMakeLists.txt b/declarativeimports/locale/CMakeLists.txt index f35d2e7a6..d74a84869 100644 --- a/declarativeimports/locale/CMakeLists.txt +++ b/declarativeimports/locale/CMakeLists.txt @@ -1,5 +1,7 @@ project(localebindings) +include(KDE4Defaults) + set(localebindings_SRCS locale.cpp calendarsystem.cpp @@ -14,10 +16,10 @@ INCLUDE_DIRECTORIES( qt4_automoc(${localebindings_SRCS}) -add_library(localebindingsplugin SHARED ${localebindings_SRCS}) +kde4_add_library(localebindingsplugin SHARED ${localebindings_SRCS}) #FIXME #Should i put something? -target_link_libraries(localebindingsplugin ${QT_QTDECLARATIVE_LIBRARY}) +target_link_libraries(localebindingsplugin ${QT_QTDECLARATIVE_LIBRARY} ${KDE4_KDECORE_LIBRARY}) install(TARGETS localebindingsplugin DESTINATION ${IMPORTS_INSTALL_DIR}/org/kde/plasma/locale) install(FILES qmldir DESTINATION ${IMPORTS_INSTALL_DIR}/org/kde/plasma/locale)