diff options
author | Brad King <brad.king@kitware.com> | 2014-09-11 16:55:05 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2014-09-11 16:55:05 (GMT) |
commit | efe093dcfd77ecf5face789ff8e246300e51354a (patch) | |
tree | 3496d8f501086d84305686aa8b216bd44b08c6d8 /Modules | |
parent | 527dfe2a4fb026107a803997b1e8a4a7dab57a75 (diff) | |
parent | 89d7a5a417dccbdc97107d30a6678e94ced9ca5d (diff) | |
download | CMake-efe093dcfd77ecf5face789ff8e246300e51354a.zip CMake-efe093dcfd77ecf5face789ff8e246300e51354a.tar.gz CMake-efe093dcfd77ecf5face789ff8e246300e51354a.tar.bz2 |
Merge topic 'fix-gnu-hurd-host-detection'
89d7a5a4 Fix CMAKE_HOST_SYSTEM_PROCESSOR detection on GNU/Hurd (#15147)
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/CMakeDetermineSystem.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeDetermineSystem.cmake b/Modules/CMakeDetermineSystem.cmake index 1c0941a..fe292ea 100644 --- a/Modules/CMakeDetermineSystem.cmake +++ b/Modules/CMakeDetermineSystem.cmake @@ -47,7 +47,7 @@ if(CMAKE_HOST_UNIX) if(CMAKE_UNAME) exec_program(uname ARGS -s OUTPUT_VARIABLE CMAKE_HOST_SYSTEM_NAME) exec_program(uname ARGS -r OUTPUT_VARIABLE CMAKE_HOST_SYSTEM_VERSION) - if(CMAKE_HOST_SYSTEM_NAME MATCHES "Linux|CYGWIN.*|Darwin") + if(CMAKE_HOST_SYSTEM_NAME MATCHES "Linux|CYGWIN.*|Darwin|^GNU$") exec_program(uname ARGS -m OUTPUT_VARIABLE CMAKE_HOST_SYSTEM_PROCESSOR RETURN_VALUE val) if(CMAKE_HOST_SYSTEM_NAME STREQUAL "Darwin" AND |