[parley/KDE/4.14] /: set cmake min req to match kdelibs4; fix build accordingly
David Faure
faure at kde.org
Sun Jul 26 14:37:27 UTC 2015
Git commit 7521b4babad3197bcc0171f06d4adcbe923b2b64 by David Faure.
Committed on 26/07/2015 at 14:37.
Pushed by dfaure into branch 'KDE/4.14'.
set cmake min req to match kdelibs4; fix build accordingly
CCMAIL: kde-buildsystem at kde.org
M +1 -0 CMakeLists.txt
M +1 -1 plasmoid/CMakeLists.txt
M +1 -1 plasmoid/engine/CMakeLists.txt
http://commits.kde.org/parley/7521b4babad3197bcc0171f06d4adcbe923b2b64
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9fa08a6..a06ac72 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,3 +1,4 @@
+cmake_minimum_required(VERSION 2.8.9)
project(parley)
find_package(KDE4 REQUIRED)
diff --git a/plasmoid/CMakeLists.txt b/plasmoid/CMakeLists.txt
index bdebb75..2cf6fc7 100644
--- a/plasmoid/CMakeLists.txt
+++ b/plasmoid/CMakeLists.txt
@@ -10,7 +10,7 @@ kde4_add_ui_files(parley_plasma_SRCS config.ui)
kde4_add_plugin(plasma_applet_parley ${parley_plasma_SRCS})
target_link_libraries(plasma_applet_parley
- plasma ${KDE4_KIO_LIBS}
+ ${KDE4_PLASMA_LIBS} ${KDE4_KIO_LIBS}
${LIBKDEEDU_KEDUVOCDOCUMENT_LIBRARIES}
)
diff --git a/plasmoid/engine/CMakeLists.txt b/plasmoid/engine/CMakeLists.txt
index f3af4c4..e0a878c 100644
--- a/plasmoid/engine/CMakeLists.txt
+++ b/plasmoid/engine/CMakeLists.txt
@@ -6,7 +6,7 @@ include_directories( ${LIBKDEEDU_INCLUDE_DIR} )
kde4_add_plugin(plasma_engine_parley ${parley_engine_SRCS})
target_link_libraries(plasma_engine_parley ${KDE4_KDECORE_LIBS}
- plasma
+ ${KDE4_PLASMA_LIBS}
${LIBKDEEDU_KEDUVOCDOCUMENT_LIBRARIES}
)
More information about the Kde-buildsystem
mailing list