1 set(LLVM_LINK_COMPONENTS
2 ${LLVM_TARGETS_TO_BUILD}
10 add_definitions( -DLLVM_VERSION_INFO=\"${PACKAGE_VERSION}\" )
17 set(LLVM_EXPORTED_SYMBOL_FILE ${CMAKE_CURRENT_SOURCE_DIR}/lto.exports)
19 if(NOT CYGWIN AND LLVM_ENABLE_PIC)
20 set(ENABLE_SHARED SHARED)
23 add_llvm_library(LTO ${ENABLE_SHARED} STATIC ${SOURCES})
25 install(FILES ${LLVM_MAIN_INCLUDE_DIR}/llvm-c/lto.h
26 DESTINATION include/llvm-c)