From 89d886ddf97a341ffe23222bd51e0b78cb9fa8b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20K=C3=BCgler?= Date: Mon, 29 Jul 2013 00:40:41 +0200 Subject: [PATCH] Port away from KDE4* macros --- src/scriptengines/qml/CMakeLists.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/scriptengines/qml/CMakeLists.txt b/src/scriptengines/qml/CMakeLists.txt index 728771b34..46cff8792 100644 --- a/src/scriptengines/qml/CMakeLists.txt +++ b/src/scriptengines/qml/CMakeLists.txt @@ -23,15 +23,18 @@ set(declarative_appletscript_SRCS include_directories(${PHONON_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR}/common) -kde4_add_plugin(plasma_appletscript_declarative ${declarative_appletscript_SRCS}) +add_library(plasma_appletscript_declarative MODULE ${declarative_appletscript_SRCS} ) +set_target_properties(plasma_appletscript_declarative PROPERTIES PREFIX "") + target_link_libraries(plasma_appletscript_declarative ${KDE4_KIO_LIBS} ${KDE4Support_LIBRARIES} + ${KDE4Attic_LIBRARIES} ${QT_QTSCRIPT_LIBRARY} ${Qt5Quick_LIBRARIES} ${Qt5Qml_LIBRARIES} ${QT_QTUITOOLS_LIBRARY} - ${KDE4_KDECORE_LIBS} + ${KCore_LIBRARIES} plasma kdeclarative )