mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-22 07:32:48 +00:00
ff688a1f6e
Patch by arrowdodger! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129274 91177308-0d34-0410-b5e6-96231b3b80d8
35 lines
942 B
CMake
35 lines
942 B
CMake
set(llvm_cmake_builddir "${LLVM_BINARY_DIR}/share/llvm/cmake")
|
|
set(LLVM_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX})
|
|
|
|
get_property(llvm_libs GLOBAL PROPERTY LLVM_LIBS)
|
|
|
|
configure_file(
|
|
LLVMConfig.cmake.in
|
|
${llvm_cmake_builddir}/LLVMConfig.cmake
|
|
@ONLY)
|
|
|
|
configure_file(
|
|
LLVMConfigVersion.cmake.in
|
|
${llvm_cmake_builddir}/LLVMConfigVersion.cmake
|
|
@ONLY)
|
|
|
|
install(FILES
|
|
${llvm_cmake_builddir}/LLVMConfig.cmake
|
|
${llvm_cmake_builddir}/LLVMConfigVersion.cmake
|
|
LLVM-Config.cmake
|
|
LLVMLibDeps.cmake
|
|
DESTINATION share/llvm/cmake)
|
|
|
|
install(DIRECTORY .
|
|
DESTINATION share/llvm/cmake
|
|
FILES_MATCHING PATTERN *.cmake
|
|
PATTERN .svn EXCLUDE
|
|
PATTERN LLVMConfig.cmake EXCLUDE
|
|
PATTERN LLVMConfigVersion.cmake EXCLUDE
|
|
PATTERN LLVM-Config.cmake EXCLUDE
|
|
PATTERN LLVMLibDeps.cmake EXCLUDE
|
|
PATTERN FindBison.cmake EXCLUDE
|
|
PATTERN GetTargetTriple.cmake EXCLUDE
|
|
PATTERN VersionFromVCS.cmake EXCLUDE
|
|
PATTERN CheckAtomic.cmake EXCLUDE)
|