mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-05 01:31:05 +00:00
For copy, cmake needs the full path to llvm-ar.
This should fix the windows build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223324 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
459e595697
commit
471e834c8d
@ -11,11 +11,12 @@ add_llvm_tool(llvm-ar
|
||||
|
||||
if(UNIX)
|
||||
set(LLVM_LINK_OR_COPY create_symlink)
|
||||
set(llvm_ar_binary "llvm-ar${CMAKE_EXECUTABLE_SUFFIX}")
|
||||
else()
|
||||
set(LLVM_LINK_OR_COPY copy)
|
||||
set(llvm_ar_binary "${LLVM_RUNTIME_OUTPUT_INTDIR}/llvm-ar${CMAKE_EXECUTABLE_SUFFIX}")
|
||||
endif()
|
||||
|
||||
set(llvm_ar_binary "llvm-ar${CMAKE_EXECUTABLE_SUFFIX}")
|
||||
set(llvm_ranlib "${LLVM_RUNTIME_OUTPUT_INTDIR}/llvm-ranlib${CMAKE_EXECUTABLE_SUFFIX}")
|
||||
|
||||
add_custom_command(OUTPUT ${llvm_ranlib}
|
||||
|
Loading…
x
Reference in New Issue
Block a user