Export lib and exe build target names from build tree
[oota-llvm.git] / cmake / modules / TableGen.cmake
index 35f1422cc53d4ed07f658175b9e2b7a9cbe9896d..8880fe12b47bd39897f11cb4ad9cc420bb7b4363 100644 (file)
@@ -131,4 +131,5 @@ macro(add_tablegen target project)
             EXPORT LLVMExports
             RUNTIME DESTINATION bin)
   endif()
+  set_property(GLOBAL APPEND PROPERTY LLVM_EXPORTS ${target})
 endmacro()