summaryrefslogtreecommitdiff
path: root/Modules/CMakeSystem.cmake.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-06-02 10:01:12 -0400
committerBrad King <brad.king@kitware.com>2016-08-12 10:40:51 -0400
commitc148803a575ed1c3639123190b1d6a5d31578f34 (patch)
tree4ffe2e609ab1b253dec01d82dd10e5971b7ec970 /Modules/CMakeSystem.cmake.in
parentf99df80794df7acc383d93d47b5da3ac8450e117 (diff)
downloadcmake-c148803a575ed1c3639123190b1d6a5d31578f34.tar.gz
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 70c98d5ca3..ef8aaa0450 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)