cmake: match warnings more strictly in C++ feature checks
authorMoritz Warning <moritzwarning@web.de>
Wed, 6 Mar 2019 21:26:50 +0000 (22:26 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 10 Mar 2019 16:48:23 +0000 (17:48 +0100)
commit7fc4dd3611d1569db99444425feaddc545699c06
tree7a36bc66aa7e1d93f865667fd84a152301475c1e
parentff3cfe084885662843a6cc95a547eb9f8ef48fa5
cmake: match warnings more strictly in C++ feature checks

Require the word "warning" to appear at the start of a line, after
whitespace, or after a `:`.  This is the same that CTest launchers use
to match warnings.  It avoids matching "warning" inside file paths.
Fixed in cmake 3.14.0.

Signed-off-by: Moritz Warning <moritzwarning@web.de>
tools/cmake/patches/150-C-feature-checks-Match-warnings-more-strictly.patch [new file with mode: 0644]