aboutsummaryrefslogtreecommitdiff
path: root/cmake/modules
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2017-07-25 20:58:14 +0000
committerChris Bieneman <beanz@apple.com>2017-07-25 20:58:14 +0000
commit35647a1478c82fe2a28b44cdb2bb67df1d6821e5 (patch)
tree075f65f7d08f88ad7cb6c2dc43edfdb921e6e254 /cmake/modules
parent02829e6c9c79402c45a6acb42570c013bb9a52db (diff)
downloadllvm-35647a1478c82fe2a28b44cdb2bb67df1d6821e5.tar.gz
[CMake] Fix broken builds from r309029
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
Diffstat (limited to 'cmake/modules')
-rw-r--r--cmake/modules/TableGen.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/TableGen.cmake b/cmake/modules/TableGen.cmake
index 8ee7f970991..7f17f7016b6 100644
--- a/cmake/modules/TableGen.cmake
+++ b/cmake/modules/TableGen.cmake
@@ -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})