summaryrefslogtreecommitdiffstats
path: root/Modules/Internal
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-07-08 11:49:24 (GMT)
committerKitware Robot <kwrobot@kitware.com>2021-07-08 11:49:30 (GMT)
commitecd557cbd770e8d75a4cf4aaee523eefaf6f32af (patch)
tree0ab1ba2477286ca80fc10c5d8d1fc346637dca5c /Modules/Internal
parent709d0369e801d72a14d38d4dd8e88d5fdbbe0937 (diff)
parent018d300ca03c6ecea6b6b15d8c5caa7693eef84b (diff)
downloadCMake-ecd557cbd770e8d75a4cf4aaee523eefaf6f32af.zip
CMake-ecd557cbd770e8d75a4cf4aaee523eefaf6f32af.tar.gz
CMake-ecd557cbd770e8d75a4cf4aaee523eefaf6f32af.tar.bz2
Merge topic 'check_cxx_compiler_flag_no_normal_variable' into release-3.21
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')
-rw-r--r--Modules/Internal/CheckCompilerFlag.cmake1
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)