aboutsummaryrefslogtreecommitdiff
path: root/modules/FindLibintl.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'modules/FindLibintl.cmake')
-rw-r--r--modules/FindLibintl.cmake8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/FindLibintl.cmake b/modules/FindLibintl.cmake
index e4d0539e..52ae6479 100644
--- a/modules/FindLibintl.cmake
+++ b/modules/FindLibintl.cmake
@@ -9,7 +9,7 @@
# present in libc. Must have more robust system for release, where Gettext
# functionality can also reside in standalone Gettext library, or the one
# embedded within kdelibs (cf. gettext.m4 from Gettext source).
-#
+
# Copyright (c) 2006, Chusslove Illich, <caslav.ilic@gmx.net>
# Copyright (c) 2007, Alexander Neundorf, <neundorf@kde.org>
#
@@ -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)
@@ -43,4 +43,4 @@ endif(LIBINTL_INCLUDE_DIR)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Libintl DEFAULT_MSG LIBINTL_INCLUDE_DIR LIBINTL_LIB_FOUND)
-mark_as_advanced(LIBINTL_INCLUDE_DIR LIBINTL_LIBRARIES LIBINTL_LIBC_HAS_DGETTEXT)
+mark_as_advanced(LIBINTL_INCLUDE_DIR LIBINTL_LIBRARIES LIBINTL_LIBC_HAS_DGETTEXT LIBINTL_LIB_FOUND)