[kdelibs/KDE/4.7] cmake/modules: Don't cache INCLUDE_DIRS, that would ignore any change in the _DIR vars.

David Faure faure at kde.org
Tue Aug 9 16:10:16 UTC 2011


Git commit 2fb623fd19bb68f6d1fc81b84957bb80689a5809 by David Faure.
Committed on 09/08/2011 at 18:08.
Pushed by dfaure into branch 'KDE/4.7'.

Don't cache INCLUDE_DIRS, that would ignore any change in the _DIR vars.

As advised by Alex Neundorf.
CCMAIL: kde-buildsystem at kde.org

M  +1    -4    cmake/modules/FindNepomuk.cmake

http://commits.kde.org/kdelibs/2fb623fd19bb68f6d1fc81b84957bb80689a5809

diff --git a/cmake/modules/FindNepomuk.cmake b/cmake/modules/FindNepomuk.cmake
index a0a0af8..10c995c 100644
--- a/cmake/modules/FindNepomuk.cmake
+++ b/cmake/modules/FindNepomuk.cmake
@@ -36,10 +36,7 @@ find_path(NEPOMUK_INCLUDE_DIR
   ${INCLUDE_INSTALL_DIR}
   )
 
-set(NEPOMUK_INCLUDE_DIRS ${NEPOMUK_INCLUDE_DIR} ${SOPRANO_INCLUDE_DIR}
-  CACHE
-  STRING
-  "include directories needed for nepomuk")
+set(NEPOMUK_INCLUDE_DIRS ${NEPOMUK_INCLUDE_DIR} ${SOPRANO_INCLUDE_DIR})
 
 find_library(NEPOMUK_LIBRARIES
   NAMES


More information about the Kde-buildsystem mailing list