To avoid the following error message (using cmake version 3.13.4) :
CMake Error at tools/llvm-config/CMakeLists.txt:37 (string): Syntax error in cmake code when parsing string-std=[^ ]\+Invalid escape sequence \+
Differential D58619
[NFC][cmake] Build fix in tools/llvm-config/CMakeLists.txt GBuella on Feb 25 2019, 7:03 AM. Authored by
Details To avoid the following error message (using cmake version 3.13.4) : CMake Error at tools/llvm-config/CMakeLists.txt:37 (string): Syntax error in cmake code when parsing string-std=[^ ]\+Invalid escape sequence \+
Diff Detail
Event TimelineComment Actions Has this change been tested with newer older versions of cmake too? Was there a release note from CMake that announced the deprecation of this kind of escape sequence? Comment Actions LGTM. According to CMake manual, plain + is the only correct form and if \+ worked at all, it was probably only by accident. That said, you'll need to update the patch since third match was added below. |