diff options
author | Brad King <brad.king@kitware.com> | 2015-02-19 14:32:33 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-02-19 14:32:33 (GMT) |
commit | 2f0b9c67fcedc73bb398e2fea35d9a5cf5123ff8 (patch) | |
tree | 51dc01a7574ecae0131be2eb212eedbe0109bcd2 | |
parent | 05c54c5bc7e3fb29d4d9366035410b69cc6ca494 (diff) | |
parent | d1cf09e3c2ded58d08288a42c0eb9038727c22c7 (diff) | |
download | CMake-2f0b9c67fcedc73bb398e2fea35d9a5cf5123ff8.zip CMake-2f0b9c67fcedc73bb398e2fea35d9a5cf5123ff8.tar.gz CMake-2f0b9c67fcedc73bb398e2fea35d9a5cf5123ff8.tar.bz2 |
Merge topic 'CMakeParseImplicitLinkInfo-CMP0054'
d1cf09e3 CMakeParseImplicitLinkInfo: Avoid if() auto-deref in quoted arg
-rw-r--r-- | Modules/CMakeParseImplicitLinkInfo.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeParseImplicitLinkInfo.cmake b/Modules/CMakeParseImplicitLinkInfo.cmake index fcc13da..8abc465 100644 --- a/Modules/CMakeParseImplicitLinkInfo.cmake +++ b/Modules/CMakeParseImplicitLinkInfo.cmake @@ -124,7 +124,7 @@ function(CMAKE_PARSE_IMPLICIT_LINK_INFO text lib_var dir_var fwk_var log_var obj # We remove items that are not language-specific. set(implicit_libs "") foreach(lib IN LISTS implicit_libs_tmp) - if("${lib}" MATCHES "^(crt.*\\.o|gcc.*|System.*)$") + if("x${lib}" MATCHES "^x(crt.*\\.o|gcc.*|System.*)$") set(log "${log} remove lib [${lib}]\n") elseif(IS_ABSOLUTE "${lib}") get_filename_component(abs "${lib}" ABSOLUTE) |