aboutsummaryrefslogtreecommitdiff
path: root/cmake/Proj4Config.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/Proj4Config.cmake')
-rw-r--r--cmake/Proj4Config.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/Proj4Config.cmake b/cmake/Proj4Config.cmake
index e9aa1de5..fda9c9c2 100644
--- a/cmake/Proj4Config.cmake
+++ b/cmake/Proj4Config.cmake
@@ -9,6 +9,7 @@
################################################################################
include (CheckIncludeFiles)
include (CheckLibraryExists)
+include (CheckFunctionExists)
# check needed include file
check_include_files (dlfcn.h HAVE_DLFCN_H)
@@ -23,6 +24,8 @@ check_include_files (sys/types.h HAVE_SYS_TYPES_H)
check_include_files (unistd.h HAVE_UNISTD_H)
check_include_files("stdlib.h;stdarg.h;string.h;float.h" STDC_HEADERS)
+CHECK_FUNCTION_EXISTS(localeconv HAVE_LOCALECONV)
+
# check libm need on unix
check_library_exists(m ceil "" HAVE_LIBM)