summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeSystem.cmake.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-06-02 14:01:12 (GMT)
committerBrad King <brad.king@kitware.com>2016-08-12 14:40:51 (GMT)
commitc148803a575ed1c3639123190b1d6a5d31578f34 (patch)
tree4ffe2e609ab1b253dec01d82dd10e5971b7ec970 /Modules/CMakeSystem.cmake.in
parentf99df80794df7acc383d93d47b5da3ac8450e117 (diff)
downloadCMake-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/CMakeSystem.cmake.in')
-rw-r--r--Modules/CMakeSystem.cmake.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeSystem.cmake.in b/Modules/CMakeSystem.cmake.in
index 70c98d5..ef8aaa0 100644
--- a/Modules/CMakeSystem.cmake.in
+++ b/Modules/CMakeSystem.cmake.in
@@ -9,7 +9,7 @@ set(CMAKE_SYSTEM "@CMAKE_SYSTEM@")
set(CMAKE_SYSTEM_NAME "@CMAKE_SYSTEM_NAME@")
set(CMAKE_SYSTEM_VERSION "@CMAKE_SYSTEM_VERSION@")
set(CMAKE_SYSTEM_PROCESSOR "@CMAKE_SYSTEM_PROCESSOR@")
-
+@CMAKE_SYSTEM_CUSTOM_CODE@
set(CMAKE_CROSSCOMPILING "@CMAKE_CROSSCOMPILING@")
set(CMAKE_SYSTEM_LOADED 1)