]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Move add_subdirectory(tests) to where Nepomuk has been found.
authorAndreas Hartmetz <ahartmetz@gmail.com>
Sat, 23 Apr 2011 14:12:15 +0000 (16:12 +0200)
committerAndreas Hartmetz <ahartmetz@gmail.com>
Sat, 23 Apr 2011 14:12:15 +0000 (16:12 +0200)
The tests were using NEPOMUK_FOO_LIBRARIES variables that were, at least
partially, not defined. Didn't link with gold linker.

src/CMakeLists.txt

index 609eb8537f3562d165e8ce0346a3b81f624fc086..bc880bb67c92600a706965f0d2a6fc9ea810b2a8 100644 (file)
@@ -1,5 +1,3 @@
-add_subdirectory(tests)
-
 macro_optional_find_package(Nepomuk)
 macro_log_feature(Nepomuk_FOUND "Nepomuk" "Nepomuk" "http://www.kde.org" FALSE "" "For adding desktop-wide tagging support to dolphin")
 macro_bool_to_01(Nepomuk_FOUND HAVE_NEPOMUK)
@@ -12,6 +10,8 @@ if (Nepomuk_FOUND)
   include_directories( ${SOPRANO_INCLUDE_DIR} ${NEPOMUK_INCLUDE_DIR} )
 endif (Nepomuk_FOUND)
 
+add_subdirectory(tests)
+
 ########### next target ###############
 
 set(dolphinprivate_LIB_SRCS