[kdelibs/frameworks] 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:17:27 UTC 2011


Git commit 586bd9b267d6431ef689a85dff9fbb11ee6106e8 by David Faure.
Committed on 09/08/2011 at 18:08.
Pushed by dfaure into branch 'frameworks'.

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
(cherry picked from commit 2fb623fd19bb68f6d1fc81b84957bb80689a5809)

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

http://commits.kde.org/kdelibs/586bd9b267d6431ef689a85dff9fbb11ee6106e8

diff --git a/cmake/modules/FindNepomuk.cmake b/cmake/modules/FindNepomuk.cmake
index 7307649..0f99db7 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