summaryrefslogtreecommitdiff
blob: d9c1efb269784aa70b81d4d3a4e5c7dbd0c818e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
commit b5a2927b633d2ad357febe13efc717b02f04a5ba
Author: Ingmar Vanhassel <ingmar.vanhassel@gmail.com>
Date:   Sat Jan 12 15:28:44 2008 +0100

    Make Nepomuk & Soprano optional dependencies.
    Move the macro_optional_find_package({nepomuk,soprano}) statements before checking the results.r
---
 kdebase/apps/dolphin/src/CMakeLists.txt |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/kdebase/apps/dolphin/src/CMakeLists.txt b/kdebase/apps/dolphin/src/CMakeLists.txt
index f9902dc..c379e95 100644
--- a/kdebase/apps/dolphin/src/CMakeLists.txt
+++ b/kdebase/apps/dolphin/src/CMakeLists.txt
@@ -1,3 +1,8 @@
+macro_optional_find_package(Nepomuk)
+macro_optional_find_package(Soprano)
+macro_bool_to_01(Nepomuk_FOUND HAVE_NEPOMUK)
+
+configure_file(config-nepomuk.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-nepomuk.h )
 
 add_subdirectory( pics )
 add_subdirectory( tests )
@@ -40,11 +45,6 @@ kde4_add_kcfg_files(dolphinprivate_LIB_SRCS
 
 kde4_add_library(dolphinprivate SHARED ${dolphinprivate_LIB_SRCS})
 
-find_package(Nepomuk)
-find_package(Soprano)
-macro_bool_to_01(Nepomuk_FOUND HAVE_NEPOMUK)
-
-configure_file(config-nepomuk.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-nepomuk.h )
 
 target_link_libraries(dolphinprivate ${KDE4_KFILE_LIBS} konq ${BLITZ_LIBRARIES})
 if (Nepomuk_FOUND)