diff options
author | Brad King <brad.king@kitware.com> | 2020-09-21 14:37:56 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-09-21 14:37:56 (GMT) |
commit | d4390c13e97ce7828f4728b107513310c220c77f (patch) | |
tree | f52879d4a492264dca5f3f001439f54d001abc74 | |
parent | c9bc062632c04e199a9a9e0cfc4fb16ccfcdc151 (diff) | |
parent | d46590910c2c3c9dfd79dfc4e81ba91eb1ea6d8d (diff) | |
download | CMake-d4390c13e97ce7828f4728b107513310c220c77f.zip CMake-d4390c13e97ce7828f4728b107513310c220c77f.tar.gz CMake-d4390c13e97ce7828f4728b107513310c220c77f.tar.bz2 |
Merge branch 'backport-3.17-check-compiler-flag-result'
-rw-r--r-- | Modules/CheckCCompilerFlag.cmake | 1 | ||||
-rw-r--r-- | Modules/CheckCXXCompilerFlag.cmake | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/Modules/CheckCCompilerFlag.cmake b/Modules/CheckCCompilerFlag.cmake index 6d65313..1452b51 100644 --- a/Modules/CheckCCompilerFlag.cmake +++ b/Modules/CheckCCompilerFlag.cmake @@ -54,5 +54,4 @@ function(check_c_compiler_flag _flag _var) foreach(v IN LISTS _locale_vars) set(ENV{${v}} ${_locale_vars_saved_${v}}) endforeach() - set(${_var} "${${_var}}" PARENT_SCOPE) endfunction() diff --git a/Modules/CheckCXXCompilerFlag.cmake b/Modules/CheckCXXCompilerFlag.cmake index 5e07c25..544e9ac 100644 --- a/Modules/CheckCXXCompilerFlag.cmake +++ b/Modules/CheckCXXCompilerFlag.cmake @@ -54,5 +54,4 @@ function(check_cxx_compiler_flag _flag _var) foreach(v IN LISTS _locale_vars) set(ENV{${v}} ${_locale_vars_saved_${v}}) endforeach() - set(${_var} "${${_var}}" PARENT_SCOPE) endfunction() |