Move add_subdirectory(tests) to where Nepomuk has been found.

The tests were using NEPOMUK_FOO_LIBRARIES variables that were, at least
partially, not defined. Didn't link with gold linker.
This commit is contained in:
Andreas Hartmetz 2011-04-23 16:12:15 +02:00
parent f736b2d9ac
commit 09fb933d2b

View 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