summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-11-16 15:52:21 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-11-16 15:52:23 (GMT)
commitb9ef87431b8507f6085ac77acb8bf5a7d554be45 (patch)
tree1e67283309b5c92014ffd1e4d2a8f32fc6e0dbbf /Modules
parentee5867287ad4d71d6318294a51eb9eed1b2cde21 (diff)
parent9f1916aaaae830cdaa7dbfea5035f62fbc7920e7 (diff)
downloadCMake-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.cmake2
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")