aboutsummaryrefslogtreecommitdiff
path: root/modules/FindLibintl.cmake
diff options
context:
space:
mode:
authorAllen Winter <winter@kde.org>2008-04-16 20:37:25 +0000
committerAllen Winter <winter@kde.org>2008-04-16 20:37:25 +0000
commit9215cdab458b5fdc16343157dacd78ef82245ae1 (patch)
tree947437e1a494b162eaa70a97954a8163215098b3 /modules/FindLibintl.cmake
parentab0a45fb585c6daa64637e7ecbfea7d2028c4844 (diff)
downloadextra-cmake-modules-9215cdab458b5fdc16343157dacd78ef82245ae1.tar.gz
extra-cmake-modules-9215cdab458b5fdc16343157dacd78ef82245ae1.tar.bz2
don't put set variables into the CACHE, per Brad King
svn path=/trunk/KDE/kdelibs/; revision=797757
Diffstat (limited to 'modules/FindLibintl.cmake')
-rw-r--r--modules/FindLibintl.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/FindLibintl.cmake b/modules/FindLibintl.cmake
index 1ddcbd82..52ae6479 100644
--- a/modules/FindLibintl.cmake
+++ b/modules/FindLibintl.cmake
@@ -30,11 +30,11 @@ if(LIBINTL_INCLUDE_DIR)
if (LIBINTL_LIBC_HAS_DGETTEXT)
set(LIBINTL_LIBRARIES)
- set(LIBINTL_LIB_FOUND TRUE CACHE BOOL "Libintl found" FORCE)
+ set(LIBINTL_LIB_FOUND TRUE)
else (LIBINTL_LIBC_HAS_DGETTEXT)
find_library(LIBINTL_LIBRARIES NAMES intl libintl )
if(LIBINTL_LIBRARIES)
- set(LIBINTL_LIB_FOUND TRUE CACHE BOOL "Libintl found" FORCE)
+ set(LIBINTL_LIB_FOUND TRUE)
endif(LIBINTL_LIBRARIES)
endif (LIBINTL_LIBC_HAS_DGETTEXT)