diff options
author | Brad King <brad.king@kitware.com> | 2016-06-02 14:01:12 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-08-12 14:40:51 (GMT) |
commit | c148803a575ed1c3639123190b1d6a5d31578f34 (patch) | |
tree | 4ffe2e609ab1b253dec01d82dd10e5971b7ec970 /Modules/CMakeDetermineSystem.cmake | |
parent | f99df80794df7acc383d93d47b5da3ac8450e117 (diff) | |
download | CMake-c148803a575ed1c3639123190b1d6a5d31578f34.zip CMake-c148803a575ed1c3639123190b1d6a5d31578f34.tar.gz CMake-c148803a575ed1c3639123190b1d6a5d31578f34.tar.bz2 |
CMakeDetermineSystem: Load platform-specific helper modules
Once CMAKE_SYSTEM_NAME is known, load a platform-specific
Platform/<os>-Determine
module in order to enable custom determination of the other settings
needed for the CMakeSystem module (e.g. CMAKE_SYSTEM_PROCESSOR). Also
add a hook in Modules/CMakeSystem.cmake.in to allow platform-specific
information to be saved.
Diffstat (limited to 'Modules/CMakeDetermineSystem.cmake')
-rw-r--r-- | Modules/CMakeDetermineSystem.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/CMakeDetermineSystem.cmake b/Modules/CMakeDetermineSystem.cmake index d9f7579..f7a32b7 100644 --- a/Modules/CMakeDetermineSystem.cmake +++ b/Modules/CMakeDetermineSystem.cmake @@ -131,6 +131,7 @@ else() set(PRESET_CMAKE_SYSTEM_NAME FALSE) endif() +include(Platform/${CMAKE_SYSTEM_NAME}-Determine OPTIONAL) macro(ADJUST_CMAKE_SYSTEM_VARIABLES _PREFIX) if(NOT ${_PREFIX}_NAME) |