diff options
author | Brad King <brad.king@kitware.com> | 2021-07-08 11:46:41 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-07-08 11:46:41 (GMT) |
commit | 01b40cfd4b333912e061dc2e4b29ca58f7d76a54 (patch) | |
tree | 62a27bf26163f7f36fb05b9e927d57019ac732c8 /Modules | |
parent | dc4b48693380b988545db9fab9493d2ded0248cb (diff) | |
parent | 018d300ca03c6ecea6b6b15d8c5caa7693eef84b (diff) | |
download | CMake-01b40cfd4b333912e061dc2e4b29ca58f7d76a54.zip CMake-01b40cfd4b333912e061dc2e4b29ca58f7d76a54.tar.gz CMake-01b40cfd4b333912e061dc2e4b29ca58f7d76a54.tar.bz2 |
Merge branch 'check_cxx_compiler_flag_no_normal_variable' into release-3.20
Merge-request: !6318
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/Internal/CheckCompilerFlag.cmake | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/Internal/CheckCompilerFlag.cmake b/Modules/Internal/CheckCompilerFlag.cmake index 6b2a11e..99efc37 100644 --- a/Modules/Internal/CheckCompilerFlag.cmake +++ b/Modules/Internal/CheckCompilerFlag.cmake @@ -73,7 +73,6 @@ int main(void) { return 0; }]=]) foreach(v IN LISTS _locale_vars) set(ENV{${v}} ${_locale_vars_saved_${v}}) endforeach() - set(${_var} "${${_var}}" PARENT_SCOPE) endfunction () cmake_policy(POP) |