[plasma-mediacenter] /: Fix build on CI.
Ben Cooksley
bcooksley at kde.org
Sat May 25 06:55:25 UTC 2013
Git commit caf55beb2be97aa722510c8a38d266319c2c390b by Ben Cooksley.
Committed on 25/05/2013 at 08:55.
Pushed by bcooksley into branch 'master'.
Fix build on CI.
CCMAIL: plasma-devel at kde.org
M +7 -0 CMakeLists.txt
M +0 -2 browsingbackends/metadatabackends/metadatamusicbackend/CMakeLists.txt
M +4 -2 libs/mediacenter/CMakeLists.txt
http://commits.kde.org/plasma-mediacenter/caf55beb2be97aa722510c8a38d266319c2c390b
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8b860d3..5a8929e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -3,11 +3,18 @@ project(MediaCenterComponents)
find_package(KDE4 REQUIRED)
include(KDE4Defaults)
+find_package(KDE4Workspace REQUIRED)
+find_package(NepomukCore REQUIRED)
+find_package(Soprano)
+
add_definitions(${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_BINARY_DIR}
${KDE4_INCLUDES}
+ ${KDE4WORKSPACE_INCLUDE_DIR}
+ ${NEPOMUK_CORE_INCLUDE_DIR}
+ ${SOPRANO_INCLUDE_DIR}
libs/
)
diff --git a/browsingbackends/metadatabackends/metadatamusicbackend/CMakeLists.txt b/browsingbackends/metadatabackends/metadatamusicbackend/CMakeLists.txt
index b7bc59c..4bf6f67 100644
--- a/browsingbackends/metadatabackends/metadatamusicbackend/CMakeLists.txt
+++ b/browsingbackends/metadatabackends/metadatamusicbackend/CMakeLists.txt
@@ -1,5 +1,3 @@
-find_package(NepomukCore REQUIRED)
-
set(metadatamusicbackend_SRCS
categoriesmodel.cpp
../abstractmetadatabackend.cpp
diff --git a/libs/mediacenter/CMakeLists.txt b/libs/mediacenter/CMakeLists.txt
index eb287c5..6ffd5de 100644
--- a/libs/mediacenter/CMakeLists.txt
+++ b/libs/mediacenter/CMakeLists.txt
@@ -1,6 +1,8 @@
-find_package(NepomukCore REQUIRED)
find_package(Taglib REQUIRED)
-include_directories (${TAGLIB_INCLUDES})
+
+include_directories(
+ ${TAGLIB_INCLUDES}
+)
set (plasmamediacenter_SRCS
mediainfoserviceproxy.cpp
More information about the Plasma-devel
mailing list