diff options
| author | Mike Taves <mwtoews@gmail.com> | 2019-03-18 23:58:41 +1300 |
|---|---|---|
| committer | Mike Taves <mwtoews@gmail.com> | 2019-03-19 20:04:48 +1300 |
| commit | 2622d3851573cd44fc7b36bfd15f07215f434d4b (patch) | |
| tree | 0bd797dc0c66c52b494c7b5dfe7b45f32fecc459 /cmake/ProjConfig.cmake | |
| parent | 8cf492acb3840eff5064a2da421c143e1fd1646c (diff) | |
| download | PROJ-2622d3851573cd44fc7b36bfd15f07215f434d4b.tar.gz PROJ-2622d3851573cd44fc7b36bfd15f07215f434d4b.zip | |
Normalize CMake with cmakelint, 2-space indent
Diffstat (limited to 'cmake/ProjConfig.cmake')
| -rw-r--r-- | cmake/ProjConfig.cmake | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/cmake/ProjConfig.cmake b/cmake/ProjConfig.cmake index ada827ea..f9593c8d 100644 --- a/cmake/ProjConfig.cmake +++ b/cmake/ProjConfig.cmake @@ -7,27 +7,27 @@ # (See accompanying file LICENSE_1_0.txt or copy at # https://www.boost.org/LICENSE_1_0.txt) ################################################################################ -include (CheckIncludeFiles) -include (CheckLibraryExists) -include (CheckFunctionExists) +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 (jni.h HAVE_JNI_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(dlfcn.h HAVE_DLFCN_H) +check_include_files(inttypes.h HAVE_INTTYPES_H) +check_include_files(jni.h HAVE_JNI_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(localeconv HAVE_LOCALECONV) -# check libm need on unix -check_library_exists(m ceil "" HAVE_LIBM) +# check libm need on unix +check_library_exists(m ceil "" HAVE_LIBM) set(PACKAGE "proj") set(PACKAGE_BUGREPORT "https://github.com/OSGeo/proj.4/issues") @@ -41,10 +41,10 @@ set(PACKAGE_VERSION "${${PROJECT_INTERN_NAME}_VERSION}") # as this is within CMake's C_INCLUDES / CXX_INCLUDES set(AUTOCONF_PROJ_CONFIG_H "${CMAKE_SOURCE_DIR}/src/proj_config.h") if(EXISTS ${AUTOCONF_PROJ_CONFIG_H}) - message(WARNING "Autoconf's ${AUTOCONF_PROJ_CONFIG_H} may interfere " - "with this CMake build. Run 'make distclean' in the " - "source directory before CMake's build.") + message(WARNING + "Autoconf's ${AUTOCONF_PROJ_CONFIG_H} may interfere with this " + "CMake build. Run 'make distclean' in the source directory " + "before CMake's build.") endif() configure_file(cmake/proj_config.cmake.in src/proj_config.h) - |
