diff options
author | Brad King <brad.king@kitware.com> | 2021-07-08 11:49:24 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2021-07-08 11:49:31 (GMT) |
commit | c19b10883edfd280f0d7f809d2c4153b9111889e (patch) | |
tree | 43752c41aedfb561a23f23ccbafd7f3682765e84 /Modules/Internal/CheckCompilerFlag.cmake | |
parent | 33d6ba668f2977fb5fcb038df2b31df7446fd678 (diff) | |
parent | 018d300ca03c6ecea6b6b15d8c5caa7693eef84b (diff) | |
download | CMake-c19b10883edfd280f0d7f809d2c4153b9111889e.zip CMake-c19b10883edfd280f0d7f809d2c4153b9111889e.tar.gz CMake-c19b10883edfd280f0d7f809d2c4153b9111889e.tar.bz2 |
Merge topic 'check_cxx_compiler_flag_no_normal_variable'
018d300ca0 Check*CompilerFlag: Do not set result as a normal variable too
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6318
Diffstat (limited to 'Modules/Internal/CheckCompilerFlag.cmake')
-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 693e28b..f6a4cc9 100644 --- a/Modules/Internal/CheckCompilerFlag.cmake +++ b/Modules/Internal/CheckCompilerFlag.cmake @@ -78,7 +78,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) |