aboutsummaryrefslogtreecommitdiff
path: root/cmake/ProjConfig.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/ProjConfig.cmake')
-rw-r--r--cmake/ProjConfig.cmake14
1 files changed, 0 insertions, 14 deletions
diff --git a/cmake/ProjConfig.cmake b/cmake/ProjConfig.cmake
index 3dc2133b..d43a2767 100644
--- a/cmake/ProjConfig.cmake
+++ b/cmake/ProjConfig.cmake
@@ -7,28 +7,14 @@
# (See accompanying file LICENSE_1_0.txt or copy at
# https://www.boost.org/LICENSE_1_0.txt)
################################################################################
-include(CheckIncludeFiles)
include(CheckLibraryExists)
include(CheckFunctionExists)
# check needed include file
-check_include_files(dlfcn.h HAVE_DLFCN_H)
-check_include_files(inttypes.h HAVE_INTTYPES_H)
-check_include_files(memory.h HAVE_MEMORY_H)
-check_include_files(stdint.h HAVE_STDINT_H)
-check_include_files(stdlib.h HAVE_STDLIB_H)
-check_include_files(string.h HAVE_STRING_H)
-check_include_files(sys/stat.h HAVE_SYS_STAT_H)
-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_function_exists(strerror HAVE_STRERROR)
if(NOT WIN32)
check_library_exists(dl dladdr "" HAVE_LIBDL)
- # check libm need on unix
- check_library_exists(m ceil "" HAVE_LIBM)
endif()
set(PACKAGE "proj")