summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang/cmake/modules/AddClang.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/cmake/modules/AddClang.cmake b/clang/cmake/modules/AddClang.cmake
index 6e063a706bf..88ee1f71ed7 100644
--- a/clang/cmake/modules/AddClang.cmake
+++ b/clang/cmake/modules/AddClang.cmake
@@ -139,6 +139,7 @@ macro(add_clang_tool name)
-DCMAKE_INSTALL_COMPONENT=${name}
-P "${CMAKE_BINARY_DIR}/cmake_install.cmake")
endif()
+ set_property(GLOBAL APPEND PROPERTY CLANG_EXPORTS ${name})
endif()
endmacro()
OpenPOWER on IntegriCloud