[PATCH 2/2] Revert "CMake: don't install tablegen"

Johannes Obermayr johannesobermayr at gmx.de
Fri Aug 30 11:14:45 PDT 2013


This reverts commit b7f81d372a884453f821a3764028771c4896c3be.
SVN: r189130

Fixes (out-of-tree build):
Scanning dependencies of target ClangCC1AsOptions
make[2]: *** No rule to make target `/usr/bin/llvm-tblgen', needed by `include/clang/Driver/Options.inc.tmp'.  Stop.
---
 cmake/modules/TableGen.cmake | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/cmake/modules/TableGen.cmake b/cmake/modules/TableGen.cmake
index d315a42..bf75ce2 100644
--- a/cmake/modules/TableGen.cmake
+++ b/cmake/modules/TableGen.cmake
@@ -136,4 +136,6 @@ macro(add_tablegen target project)
   if( LLVM_ENABLE_THREADS AND HAVE_LIBPTHREAD AND NOT BEOS )
     target_link_libraries(${target} pthread)
   endif()
+
+  install(TARGETS ${target} RUNTIME DESTINATION bin)
 endmacro()
-- 
1.8.1.4




More information about the llvm-commits mailing list