summaryrefslogtreecommitdiff
path: root/CMake/Modules/FindLibIntl.cmake
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-10-10 22:14:45 +0300
committerAndrei Karas <akaras@inbox.ru>2017-10-10 22:15:57 +0300
commitaa3f63fd497558a02feb3ddbc44f31eac091f39b (patch)
tree0e28b9b1f0501dd8be9e1a38db4ec1777fa3fbfa /CMake/Modules/FindLibIntl.cmake
parent7c10a6b61e9d06a4ae9cc9f942dfacb6fcfd9d3d (diff)
downloadplus-aa3f63fd497558a02feb3ddbc44f31eac091f39b.tar.gz
plus-aa3f63fd497558a02feb3ddbc44f31eac091f39b.tar.bz2
plus-aa3f63fd497558a02feb3ddbc44f31eac091f39b.tar.xz
plus-aa3f63fd497558a02feb3ddbc44f31eac091f39b.zip
Remove most unused files.
Diffstat (limited to 'CMake/Modules/FindLibIntl.cmake')
-rw-r--r--CMake/Modules/FindLibIntl.cmake46
1 files changed, 0 insertions, 46 deletions
diff --git a/CMake/Modules/FindLibIntl.cmake b/CMake/Modules/FindLibIntl.cmake
deleted file mode 100644
index e75960525..000000000
--- a/CMake/Modules/FindLibIntl.cmake
+++ /dev/null
@@ -1,46 +0,0 @@
-# Try to find the libintl library. Explicit searching is currently
-# only required for Win32, though it might be useful for some UNIX
-# variants, too. Therefore code for searching common UNIX include
-# directories is included, too.
-#
-# Once done this will define
-#
-# LIBINTL_FOUND - system has libintl
-# LIBINTL_LIBRARIES - the library needed for linking
-
-IF (LibIntl_LIBRARY)
- SET(LibIntl_FIND_QUIETLY TRUE)
-ENDIF ()
-
-# for Windows we rely on the environement variables
-# %INCLUDE% and %LIB%; FIND_LIBRARY checks %LIB%
-# automatically on Windows
-IF(WIN32)
- FIND_LIBRARY(LibIntl_LIBRARY
- NAMES intl
- )
-ELSE()
- FIND_LIBRARY(LibIntl_LIBRARY
- NAMES intl
- PATHS /usr/lib /usr/local/lib
- )
-ENDIF()
-
-IF (LibIntl_LIBRARY)
- SET(LIBINTL_FOUND TRUE)
- SET(LIBINTL_LIBRARIES ${LibIntl_LIBRARY})
-ELSE ()
- SET(LIBINTL_FOUND FALSE)
-ENDIF ()
-
-IF (LIBINTL_FOUND)
- IF (NOT LibIntl_FIND_QUIETLY)
- MESSAGE(STATUS "Found libintl: ${LibIntl_LIBRARY}")
- ENDIF ()
-ELSE ()
- IF (LibIntl_FIND_REQUIRED)
- MESSAGE(FATAL_ERROR "Could NOT find libintl")
- ENDIF ()
-ENDIF ()
-
-MARK_AS_ADVANCED(LibIntl_LIBRARY)