summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-11-26 14:03:08 (GMT)
committerBrad King <brad.king@kitware.com>2019-11-26 14:03:14 (GMT)
commit4e4327ee3cbcbb083a0a5aa44b8d932728d30d3f (patch)
tree24aa74562e773c511b8c71695fddb349161da535
parent61ce9d17697db65d179b348845e07f7649818d65 (diff)
parent4b46523d905451ebdcf0ef8476ebe875945b3a62 (diff)
downloadCMake-4e4327ee3cbcbb083a0a5aa44b8d932728d30d3f.zip
CMake-4e4327ee3cbcbb083a0a5aa44b8d932728d30d3f.tar.gz
CMake-4e4327ee3cbcbb083a0a5aa44b8d932728d30d3f.tar.bz2
Merge branch 'backport-implicit-includes-extra-CR' into release-3.15
Merge-request: !4088
-rw-r--r--Modules/CMakeParseImplicitIncludeInfo.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeParseImplicitIncludeInfo.cmake b/Modules/CMakeParseImplicitIncludeInfo.cmake
index 91d03cd..ff4c325 100644
--- a/Modules/CMakeParseImplicitIncludeInfo.cmake
+++ b/Modules/CMakeParseImplicitIncludeInfo.cmake
@@ -167,7 +167,7 @@ function(cmake_parse_implicit_include_info text lang dir_var log_var state_var)
set(log "")
# 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)
if(state STREQUAL start)
string(FIND "${line}" "#include \"...\" search starts here:" rv)