mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
cmake: include modules by name
This allows for toolchains to override these modules.
This commit is contained in:
parent
8ebb2fff8b
commit
2c14d52c46
@ -86,16 +86,16 @@ SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules/"
|
||||
CACHE INTERNAL "Location of our custom CMake modules.")
|
||||
|
||||
# auto-configure style checks, other CMake modules.
|
||||
INCLUDE(${CMAKE_ROOT}/Modules/CheckLibraryExists.cmake)
|
||||
INCLUDE(${CMAKE_ROOT}/Modules/CheckIncludeFile.cmake)
|
||||
INCLUDE(${CMAKE_ROOT}/Modules/CheckIncludeFiles.cmake)
|
||||
INCLUDE(${CMAKE_ROOT}/Modules/CheckTypeSize.cmake)
|
||||
INCLUDE(${CMAKE_ROOT}/Modules/CheckFunctionExists.cmake)
|
||||
INCLUDE(${CMAKE_ROOT}/Modules/CheckCXXSourceCompiles.cmake)
|
||||
INCLUDE(${CMAKE_ROOT}/Modules/CheckCSourceCompiles.cmake)
|
||||
INCLUDE(${CMAKE_ROOT}/Modules/TestBigEndian.cmake)
|
||||
INCLUDE(${CMAKE_ROOT}/Modules/CheckSymbolExists.cmake)
|
||||
INCLUDE(${CMAKE_ROOT}/Modules/GetPrerequisites.cmake)
|
||||
INCLUDE(CheckLibraryExists)
|
||||
INCLUDE(CheckIncludeFile)
|
||||
INCLUDE(CheckIncludeFiles)
|
||||
INCLUDE(CheckTypeSize)
|
||||
INCLUDE(CheckFunctionExists)
|
||||
INCLUDE(CheckCXXSourceCompiles)
|
||||
INCLUDE(CheckCSourceCompiles)
|
||||
INCLUDE(TestBigEndian)
|
||||
INCLUDE(CheckSymbolExists)
|
||||
INCLUDE(GetPrerequisites)
|
||||
|
||||
INCLUDE(CheckCCompilerFlag)
|
||||
FIND_PACKAGE(PkgConfig QUIET)
|
||||
|
Loading…
Reference in New Issue
Block a user