]> granicus.if.org Git - llvm/commitdiff
[CMake] Fix broken builds from r309029
authorChris Bieneman <beanz@apple.com>
Tue, 25 Jul 2017 20:58:14 +0000 (20:58 +0000)
committerChris Bieneman <beanz@apple.com>
Tue, 25 Jul 2017 20:58:14 +0000 (20:58 +0000)
Fixing the mismatched beginning if and endif contents.

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

cmake/modules/TableGen.cmake

index 8ee7f97099196d77d1282e9cca7aa3305712f6d4..7f17f7016b69a445b42828a2016b61175614100f 100644 (file)
@@ -121,7 +121,7 @@ if(LLVM_USE_HOST_TOOLS AND NOT TARGET NATIVE_LIB_LLVMTABLEGEN)
       COMMENT "Building libLLVMTableGen for native TableGen..."
       USES_TERMINAL)
   add_custom_target(NATIVE_LIB_LLVMTABLEGEN DEPENDS LIB_LLVMTABLEGEN)
-endif(LLVM_USE_HOST_TOOLS)
+endif()
 
 macro(add_tablegen target project)
   set(${target}_OLD_LLVM_LINK_COMPONENTS ${LLVM_LINK_COMPONENTS})