]> granicus.if.org Git - llvm/commit
TableGen.cmake: Try to fix build breakage introduce in r305142.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Sun, 11 Jun 2017 00:57:30 +0000 (00:57 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Sun, 11 Jun 2017 00:57:30 +0000 (00:57 +0000)
commit53954f798ec00c287b40088cffb5c584e6c6f202
treec20a909c8bcc9f063ec85e712a2019f5cd5cc480
parente2f333b1c366008edbe767d4376f3ff9a1582027
TableGen.cmake: Try to fix build breakage introduce in r305142.

LLVM_TABLEGEN_TARGET is undefined in clang standalone build.
STREQUAL cannot omit LHS. Then I saw an error;

  CMake Error at /path/to/install/llvm/lib/cmake/llvm/TableGen.cmake:40 (if):
      if given arguments:
        "STREQUAL" "/path/to/install/llvm/bin/llvm-tblgen.exe"
      Unknown arguments specified

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305159 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/modules/TableGen.cmake