diff options
author | Brad King <brad.king@kitware.com> | 2017-05-08 13:48:08 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2017-05-08 13:48:19 (GMT) |
commit | 2f087606b799c9c7706f094ce0026e35d540731e (patch) | |
tree | 0e4aae756c3957717c1ddfdcb0ec310d9bd734b9 /Modules | |
parent | 9fe8abbe033588665da5a21d39e4fd09b2324ea0 (diff) | |
parent | d59e3509850329096a7d6dfbc037d721b70034c9 (diff) | |
download | CMake-2f087606b799c9c7706f094ce0026e35d540731e.zip CMake-2f087606b799c9c7706f094ce0026e35d540731e.tar.gz CMake-2f087606b799c9c7706f094ce0026e35d540731e.tar.bz2 |
Merge topic 'pgi-fix-linux'
d59e3509 Do not assume GCC libs are linked by all compilers
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !800
Diffstat (limited to 'Modules')
-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 ad3c00f..1d0030c 100644 --- a/Modules/CMakeParseImplicitLinkInfo.cmake +++ b/Modules/CMakeParseImplicitLinkInfo.cmake @@ -133,7 +133,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("x${lib}" MATCHES "^x(crt.*\\.o|gcc.*|System.*|.*libclang_rt.*)$") + if("x${lib}" MATCHES "^x(crt.*\\.o|System.*|.*libclang_rt.*)$") string(APPEND log " remove lib [${lib}]\n") elseif(IS_ABSOLUTE "${lib}") get_filename_component(abs "${lib}" ABSOLUTE) |