]> granicus.if.org Git - clang/commit
CMake: try to actually fix the regexes for setting HOST_LINK_VERSION this time (PR21268)
authorHans Wennborg <hans@hanshq.net>
Thu, 4 Dec 2014 01:59:58 +0000 (01:59 +0000)
committerHans Wennborg <hans@hanshq.net>
Thu, 4 Dec 2014 01:59:58 +0000 (01:59 +0000)
commit10ea5b0b4a10615afcce6bea40ae342a1e7a6140
treede57d95e49bb1eb11c2b5caf440814b8b7fc3cf2
parent955c3434f66d1309c0b76d7509ceb135c099ccd7
CMake: try to actually fix the regexes for setting HOST_LINK_VERSION this time (PR21268)

The regex should not accept an empty version number.

The previous attempt at r223106 failed, and the build was still erroring:

  CMake Error at tools/clang/CMakeLists.txt:269 (string):
    string sub-command REGEX, mode REPLACE regex "[^0-9]*([0-9.]*).*" matched
    an empty string.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@223333 91177308-0d34-0410-b5e6-96231b3b80d8
CMakeLists.txt