summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2014-08-09 17:45:50 (GMT)
committerAlbert Astals Cid <aacid@kde.org>2014-08-09 17:45:50 (GMT)
commit20d687cac5d28b42afcb107bb5fe8e380b6a7dbf (patch)
treeddd169fd44c8c23d3d491f528bec31d0f99401b3
parentd1fa3b869f7c399c73dd46de638db0297000570a (diff)
I need it down here for cmake to suceed
-rw-r--r--shell/CMakeLists.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/shell/CMakeLists.txt b/shell/CMakeLists.txt
index 6ea880d..bdcdbf0 100644
--- a/shell/CMakeLists.txt
+++ b/shell/CMakeLists.txt
@@ -11,12 +11,6 @@ set_package_properties("KActivities" PROPERTIES
TYPE RECOMMENDED
PURPOSE "Required for Activities integration.")
-if(KActivities_FOUND)
- add_definitions(-DKActivities_FOUND)
- include_directories(${KACTIVITIES_INCLUDE_DIRS})
- target_link_libraries(okular KF5::KActivities)
-endif(KActivities_FOUND)
-
# okular
set(okular_SRCS
@@ -31,6 +25,12 @@ kde4_add_executable(okular ${okular_SRCS})
target_link_libraries(okular KF5::Parts KF5::WindowSystem KF5::KDELibs4Support)
+if(KActivities_FOUND)
+ add_definitions(-DKActivities_FOUND)
+ include_directories(${KACTIVITIES_INCLUDE_DIRS})
+ target_link_libraries(okular KF5::KActivities)
+endif(KActivities_FOUND)
+
install(TARGETS okular ${INSTALL_TARGETS_DEFAULT_ARGS})