aboutsummaryrefslogtreecommitdiff
path: root/attic/modules/FindLibintl.cmake
diff options
context:
space:
mode:
authorKevin Funk <kfunk@kde.org>2015-12-18 12:37:19 +0100
committerKevin Funk <kfunk@kde.org>2015-12-18 15:57:50 +0100
commit942ba80dae253fef93094d178da3ce0abc47da5d (patch)
treec1e633d8caa14d02536806c91a7cf30f3680c809 /attic/modules/FindLibintl.cmake
parentbdd38b5f45a889043deb0665bdb66086ca6c9bf5 (diff)
downloadextra-cmake-modules-942ba80dae253fef93094d178da3ce0abc47da5d.tar.gz
extra-cmake-modules-942ba80dae253fef93094d178da3ce0abc47da5d.tar.bz2
CMake: Cleanup: Strip text from endif/else
REVIEW: 126414
Diffstat (limited to 'attic/modules/FindLibintl.cmake')
-rw-r--r--attic/modules/FindLibintl.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/attic/modules/FindLibintl.cmake b/attic/modules/FindLibintl.cmake
index 52ae6479..c7cbc969 100644
--- a/attic/modules/FindLibintl.cmake
+++ b/attic/modules/FindLibintl.cmake
@@ -18,7 +18,7 @@
if(LIBINTL_INCLUDE_DIR AND LIBINTL_LIB_FOUND)
set(Libintl_FIND_QUIETLY TRUE)
-endif(LIBINTL_INCLUDE_DIR AND LIBINTL_LIB_FOUND)
+endif()
find_path(LIBINTL_INCLUDE_DIR libintl.h)
@@ -35,10 +35,10 @@ if(LIBINTL_INCLUDE_DIR)
find_library(LIBINTL_LIBRARIES NAMES intl libintl )
if(LIBINTL_LIBRARIES)
set(LIBINTL_LIB_FOUND TRUE)
- endif(LIBINTL_LIBRARIES)
+ endif()
endif (LIBINTL_LIBC_HAS_DGETTEXT)
-endif(LIBINTL_INCLUDE_DIR)
+endif()
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Libintl DEFAULT_MSG LIBINTL_INCLUDE_DIR LIBINTL_LIB_FOUND)