[llvm] r262066 - [CMake] Assigning the LTO component to lto.h
Chris Bieneman via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 26 13:07:02 PST 2016
Author: cbieneman
Date: Fri Feb 26 15:07:02 2016
New Revision: 262066
URL: http://llvm.org/viewvc/llvm-project?rev=262066&view=rev
Log:
[CMake] Assigning the LTO component to lto.h
This makes it so lto.h is installed when you run the install-LTO target.
Modified:
llvm/trunk/tools/lto/CMakeLists.txt
Modified: llvm/trunk/tools/lto/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/lto/CMakeLists.txt?rev=262066&r1=262065&r2=262066&view=diff
==============================================================================
--- llvm/trunk/tools/lto/CMakeLists.txt (original)
+++ llvm/trunk/tools/lto/CMakeLists.txt Fri Feb 26 15:07:02 2016
@@ -18,7 +18,8 @@ set(LLVM_EXPORTED_SYMBOL_FILE ${CMAKE_CU
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})
More information about the llvm-commits
mailing list