From a8b39698e13c716428882c0715819f775feb60c2 Mon Sep 17 00:00:00 2001 From: Chris Bieneman Date: Fri, 26 Feb 2016 21:07:02 +0000 Subject: [PATCH] [CMake] Assigning the LTO component to lto.h This makes it so lto.h is installed when you run the install-LTO target. llvm-svn: 262066 --- tools/lto/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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})