diff --git a/tools/lto/CMakeLists.txt b/tools/lto/CMakeLists.txt index 62447eec389..293a12608ae 100644 --- a/tools/lto/CMakeLists.txt +++ b/tools/lto/CMakeLists.txt @@ -18,7 +18,8 @@ set(LLVM_EXPORTED_SYMBOL_FILE ${CMAKE_CURRENT_SOURCE_DIR}/lto.exports) add_llvm_library(LTO SHARED ${SOURCES}) install(FILES ${LLVM_MAIN_INCLUDE_DIR}/llvm-c/lto.h - DESTINATION include/llvm-c) + DESTINATION include/llvm-c + COMPONENT LTO) if (APPLE) set(LTO_VERSION ${LLVM_VERSION_MAJOR})