summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-12-01 18:59:36 (GMT)
committerBrad King <brad.king@kitware.com>2014-12-01 18:59:36 (GMT)
commit9ea39ee04b12097f752fe1c9f4d181b0715c1d3c (patch)
tree8e2209ced4b31105c4d7389899611fb3bd9555f5
parent5062bf748822b276b9766215b07670754ee1c76c (diff)
parent20bf6971f54756a282bda97a9a304f758ad01df2 (diff)
downloadCMake-9ea39ee04b12097f752fe1c9f4d181b0715c1d3c.zip
CMake-9ea39ee04b12097f752fe1c9f4d181b0715c1d3c.tar.gz
CMake-9ea39ee04b12097f752fe1c9f4d181b0715c1d3c.tar.bz2
Merge branch 'fix-implicit-lib-logging' into release
-rw-r--r--Modules/CMakeParseImplicitLinkInfo.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/CMakeParseImplicitLinkInfo.cmake b/Modules/CMakeParseImplicitLinkInfo.cmake
index bfcf455..fcc13da 100644
--- a/Modules/CMakeParseImplicitLinkInfo.cmake
+++ b/Modules/CMakeParseImplicitLinkInfo.cmake
@@ -66,7 +66,8 @@ function(CMAKE_PARSE_IMPLICIT_LINK_INFO text lib_var dir_var fwk_var log_var obj
set(log "${log} arg [${arg}] ==> dir [${dir}]\n")
elseif("${arg}" MATCHES "^-l([^:].*)$")
# Unix library.
- list(APPEND implicit_libs_tmp ${CMAKE_MATCH_1})
+ set(lib "${CMAKE_MATCH_1}")
+ list(APPEND implicit_libs_tmp ${lib})
set(log "${log} arg [${arg}] ==> lib [${lib}]\n")
elseif("${arg}" MATCHES "^(.:)?[/\\].*\\.a$")
# Unix library full path.