llvm.org GIT mirror llvm / d193465
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 Hans Wennborg 7 years ago
2 changed file(s) with 5 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
499499 )
500500 endif()
501501
502 if( NOT WIN32 )
503 install(FILES include/llvm-c/lto.h DESTINATION include/llvm-c)
504 endif()
505
506
507502 set(CPACK_PACKAGE_VENDOR "LLVM")
508503 set(CPACK_PACKAGE_VERSION_MAJOR ${LLVM_VERSION_MAJOR})
509504 set(CPACK_PACKAGE_VERSION_MINOR ${LLVM_VERSION_MINOR})
2525 add_llvm_library(${LTO_STATIC_TARGET_NAME} ${SOURCES})
2626 set_property(TARGET ${LTO_STATIC_TARGET_NAME} PROPERTY OUTPUT_NAME "LTO")
2727 endif()
28
29 if( NOT WIN32 )
30 install(FILES ${LLVM_MAIN_INCLUDE_DIR}/llvm-c/lto.h
31 DESTINATION include/llvm-c)
32 endif()