mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-24 06:27:56 +00:00
CMake: move lto.h install to tools/lto/CMakeLists.txt
It looked misplaced in the main CMakeLists.txt file. llvm-svn: 189230
This commit is contained in:
parent
f7fd8102dd
commit
83dfd507dc
@ -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