mirror of
https://github.com/RPCSX/llvm.git
synced 2025-04-03 16:51:42 +00:00
[CMake] Assigning the LTO component to lto.h
This makes it so lto.h is installed when you run the install-LTO target. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@262066 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8fe5b80086
commit
995ce72c12
@ -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…
x
Reference in New Issue
Block a user