mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-01 11:50:11 -05:00
Merge branch 'backport-implicit-includes-extra-CR' into implicit-includes-extra-CR
This commit is contained in:
@@ -167,7 +167,7 @@ function(cmake_parse_implicit_include_info text lang dir_var log_var state_var)
|
|||||||
set(log "")
|
set(log "")
|
||||||
|
|
||||||
# go through each line of output...
|
# go through each line of output...
|
||||||
string(REGEX REPLACE "\r?\n" ";" output_lines "${text}")
|
string(REGEX REPLACE "\r*\n" ";" output_lines "${text}")
|
||||||
foreach(line IN LISTS output_lines)
|
foreach(line IN LISTS output_lines)
|
||||||
if(state STREQUAL start)
|
if(state STREQUAL start)
|
||||||
string(FIND "${line}" "#include \"...\" search starts here:" rv)
|
string(FIND "${line}" "#include \"...\" search starts here:" rv)
|
||||||
|
|||||||
Reference in New Issue
Block a user