aboutsummaryrefslogtreecommitdiff
path: root/modules/FindGettext.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/FindGettext.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/FindGettext.cmake')
-rw-r--r--modules/FindGettext.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/FindGettext.cmake b/modules/FindGettext.cmake
index 682906e5..8c50e43f 100644
--- a/modules/FindGettext.cmake
+++ b/modules/FindGettext.cmake
@@ -43,7 +43,7 @@ else (LIBC_HAS_DGETTEXT OR LIBINTL_HAS_DGETTEXT)
CHECK_LIBRARY_EXISTS(${LIBINTL_LIBRARY} "dgettext" "" LIBINTL_HAS_DGETTEXT)
if (LIBINTL_HAS_DGETTEXT)
set(GETTEXT_SOURCE "in ${LIBINTL_LIBRARY}")
- set(GETTEXT_LIBRARIES ${LIBINTL_LIBRARY} CACHE FILEPATH "path to libintl library, used for gettext")
+ set(GETTEXT_LIBRARIES ${LIBINTL_LIBRARY})
set(GETTEXT_FOUND TRUE)
endif (LIBINTL_HAS_DGETTEXT)
endif (LIBC_HAS_DGETTEXT)