mirror of
https://github.com/reactos/CMake.git
synced 2024-12-13 06:16:49 +00:00
Merge topic 'vs_fix_configuration_error'
0db4c7a0
Tests: Verify registry value is not "/registry" before using
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !994
This commit is contained in:
commit
a66f9bc0c4
@ -2082,7 +2082,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DDIR=dev -P ${CMake_SOURCE_DIR}/Utilities/Release
|
||||
set(reg_nasm "[HKEY_CURRENT_USER\\SOFTWARE\\nasm]")
|
||||
foreach(reg vs10 vs11 vs12 vs14 ws80 ws81 ws10_0 wp80 wp81 wince tegra nasm)
|
||||
get_filename_component(r "${reg_${reg}}" ABSOLUTE)
|
||||
if(IS_DIRECTORY "${r}")
|
||||
if(IS_DIRECTORY "${r}" AND NOT "${r}" STREQUAL "/registry")
|
||||
set(${reg} 1)
|
||||
else()
|
||||
set(${reg} 0)
|
||||
|
Loading…
Reference in New Issue
Block a user