diff options
-rw-r--r-- | Modules/CMakeParseImplicitLinkInfo.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/CMakeParseImplicitLinkInfo.cmake b/Modules/CMakeParseImplicitLinkInfo.cmake index 9cab2de..1251f86 100644 --- a/Modules/CMakeParseImplicitLinkInfo.cmake +++ b/Modules/CMakeParseImplicitLinkInfo.cmake @@ -27,6 +27,7 @@ function(CMAKE_PARSE_IMPLICIT_LINK_INFO text lib_var dir_var log_var) get_filename_component(linker ${CMAKE_LINKER} NAME) endif() set(linker_regex "^( *|.*/)(${linker}|ld|collect2)") + set(log "${log} link line regex: [${linker_regex}]\n") string(REGEX REPLACE "\r?\n" ";" output_lines "${text}") foreach(line IN LISTS output_lines) set(cmd) |