mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-21 16:31:16 +00:00
e7510c2e96
scheme is used by the functionality related to find_package. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128889 91177308-0d34-0410-b5e6-96231b3b80d8
33 lines
794 B
CMake
33 lines
794 B
CMake
set(llvm_cmake_builddir "${LLVM_BINARY_DIR}/share/llvm/cmake")
|
|
|
|
get_property(llvm_libs GLOBAL PROPERTY LLVM_LIBS)
|
|
|
|
configure_file(
|
|
LLVM.cmake
|
|
${llvm_cmake_builddir}/LLVM.cmake
|
|
@ONLY)
|
|
|
|
install(FILES
|
|
${llvm_cmake_builddir}/LLVM.cmake
|
|
LLVM-Config.cmake
|
|
LLVMLibDeps.cmake
|
|
DESTINATION share/llvm/cmake)
|
|
|
|
install(DIRECTORY .
|
|
DESTINATION share/llvm/cmake
|
|
FILES_MATCHING PATTERN *.cmake
|
|
PATTERN .svn EXCLUDE
|
|
PATTERN LLVM.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)
|
|
|
|
install(FILES
|
|
${llvm_cmake_builddir}/LLVM.cmake
|
|
LLVM-Config.cmake
|
|
LLVMLibDeps.cmake
|
|
DESTINATION share/llvm/cmake)
|