mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-15 22:32:35 +00:00
CMake: move lto.h install to tools/lto/CMakeLists.txt
It looked misplaced in the main CMakeLists.txt file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189230 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
edd08f7428
commit
d19346524c
@ -500,11 +500,6 @@ if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY)
|
||||
)
|
||||
endif()
|
||||
|
||||
if( NOT WIN32 )
|
||||
install(FILES include/llvm-c/lto.h DESTINATION include/llvm-c)
|
||||
endif()
|
||||
|
||||
|
||||
set(CPACK_PACKAGE_VENDOR "LLVM")
|
||||
set(CPACK_PACKAGE_VERSION_MAJOR ${LLVM_VERSION_MAJOR})
|
||||
set(CPACK_PACKAGE_VERSION_MINOR ${LLVM_VERSION_MINOR})
|
||||
|
@ -26,3 +26,8 @@ if( NOT BUILD_SHARED_LIBS )
|
||||
add_llvm_library(${LTO_STATIC_TARGET_NAME} ${SOURCES})
|
||||
set_property(TARGET ${LTO_STATIC_TARGET_NAME} PROPERTY OUTPUT_NAME "LTO")
|
||||
endif()
|
||||
|
||||
if( NOT WIN32 )
|
||||
install(FILES ${LLVM_MAIN_INCLUDE_DIR}/llvm-c/lto.h
|
||||
DESTINATION include/llvm-c)
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user