mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
[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
This commit is contained in:
parent
d5185a0950
commit
a8b39698e1
@ -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})
|
||||
|
Loading…
Reference in New Issue
Block a user