aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2015-01-11 18:28:25 +0100
committerMontel Laurent <[email protected]>2015-01-11 18:28:25 +0100
commit479b769a927e8dd24183f366a6d7bde0da3a44ff (patch)
tree19d8fd1fe2b61e6f96be9a3879dae331babc7ffa
parent8b803ede3ff8795d8d6fa8467b8b085e4210e92b (diff)
Adapt some cmakelists.txt
-rw-r--r--CMakeLists.txt2
-rw-r--r--plugins/sampleplugin/CMakeLists.txt9
-rw-r--r--renderer/CMakeLists.txt2
3 files changed, 6 insertions, 7 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7a846d2..a119004 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -79,7 +79,7 @@ set(MLT_PREFIX ${MLT_ROOT_DIR})
add_subdirectory(data)
add_subdirectory(doc)
#add_subdirectory(plugins)
-#macro_optional_add_subdirectory(po)
+#ecm_optional_add_subdirectory(po)
add_subdirectory(renderer)
add_subdirectory(src)
add_subdirectory(thumbnailer)
diff --git a/plugins/sampleplugin/CMakeLists.txt b/plugins/sampleplugin/CMakeLists.txt
index afc0c57..55e0a85 100644
--- a/plugins/sampleplugin/CMakeLists.txt
+++ b/plugins/sampleplugin/CMakeLists.txt
@@ -2,14 +2,13 @@ set(sampleplugin_SRCS sampleplugin.cpp)
ki18n_wrap_ui(sampleplugin_UIS countdown_ui.ui)
-kde4_add_plugin(kdenlive_sampleplugin WITH_PREFIX
+add_library(kdenlive_sampleplugin MODULE WITH_PREFIX
${sampleplugin_SRCS}
${sampleplugin_UIS}
)
add_definitions(${KDE4_DEFINITIONS})
-include_directories(${KDE4_INCLUDES})
include(${QT_USE_FILE})
@@ -19,9 +18,9 @@ add_definitions(-DQT_PLUGIN)
add_definitions(-DQT_SHARED)
target_link_libraries(kdenlive_sampleplugin
- ${KDE4_KDECORE_LIBS}
- ${KDE4_KDEUI_LIBS}
- ${KDE4_KIO_LIBS}
+ KF5::KDELibs4Support
+
+ KF5::KIOCore
${QT_LIBRARIES}
)
diff --git a/renderer/CMakeLists.txt b/renderer/CMakeLists.txt
index 74ec9b3..cf4ef53 100644
--- a/renderer/CMakeLists.txt
+++ b/renderer/CMakeLists.txt
@@ -9,7 +9,7 @@ set(kdenlive_render_SRCS
add_executable(kdenlive_render ${kdenlive_render_SRCS})
include_directories(
- ${QT_INCLUDES}
+
)
#include(${QT_USE_FILE})