diff options
| author | Andreas Hartmetz <[email protected]> | 2011-04-23 16:12:15 +0200 |
|---|---|---|
| committer | Andreas Hartmetz <[email protected]> | 2011-04-23 16:12:15 +0200 |
| commit | b3bf5886b49024406575e3e39ba8a637a5efe89b (patch) | |
| tree | c26fac965f6978cfee88922b3d1f4c2027083c52 /src | |
| parent | 371e718ec58fc4b5b611f05102f9e4d0f0544ac2 (diff) | |
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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 609eb8537..bc880bb67 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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 |
