diff options
| author | Ben Boeckel <mathstuf@users.noreply.github.com> | 2021-08-04 21:22:19 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-05 09:22:19 +1200 |
| commit | ff22ae3a871f295b31dbf0cc1368216a790b37cf (patch) | |
| tree | a6037339852399c95a2aa3896c036dff76e89442 /cmake/ProjConfig.cmake | |
| parent | 2656c2980fbe6fd4775797f7ff7226cc320f6f59 (diff) | |
| download | PROJ-ff22ae3a871f295b31dbf0cc1368216a790b37cf.tar.gz PROJ-ff22ae3a871f295b31dbf0cc1368216a790b37cf.zip | |
cmake: remove unused configure checks (#2789)
These results are just not used anywhere, so there's no need to check
them (as the compiler will do it anyways).
Diffstat (limited to 'cmake/ProjConfig.cmake')
| -rw-r--r-- | cmake/ProjConfig.cmake | 14 |
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") |
