diff options
author | Brad King <brad.king@kitware.com> | 2017-11-16 15:52:21 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2017-11-16 15:52:23 (GMT) |
commit | b9ef87431b8507f6085ac77acb8bf5a7d554be45 (patch) | |
tree | 1e67283309b5c92014ffd1e4d2a8f32fc6e0dbbf /Modules | |
parent | ee5867287ad4d71d6318294a51eb9eed1b2cde21 (diff) | |
parent | 9f1916aaaae830cdaa7dbfea5035f62fbc7920e7 (diff) | |
download | CMake-b9ef87431b8507f6085ac77acb8bf5a7d554be45.zip CMake-b9ef87431b8507f6085ac77acb8bf5a7d554be45.tar.gz CMake-b9ef87431b8507f6085ac77acb8bf5a7d554be45.tar.bz2 |
Merge topic 'FindMatlab-better-host-detect'
9f1916aa FindMatlab: Avoid if() auto-dereference in 64-bit host detection
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1482
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindMatlab.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindMatlab.cmake b/Modules/FindMatlab.cmake index c79642d..06f7d96 100644 --- a/Modules/FindMatlab.cmake +++ b/Modules/FindMatlab.cmake @@ -356,7 +356,7 @@ function(matlab_extract_all_installed_versions_from_registry win64 matlab_versio endif() - if(${win64} AND ${CMAKE_HOST_SYSTEM_PROCESSOR} MATCHES "64") + if(${win64} AND CMAKE_HOST_SYSTEM_PROCESSOR MATCHES "64") set(APPEND_REG "/reg:64") else() set(APPEND_REG "/reg:32") |