mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
[CMake] Builtins build needs LLVM_*_OUTPUT_INTDIR variables
This allows the builtins archives to build into the correct subdirectory under the binary dir. Addresses the issue discussed in D24001. llvm-svn: 280002
This commit is contained in:
parent
5aacf5b410
commit
c4708cab08
@ -123,6 +123,8 @@ else() # if this is included from LLVM's CMake
|
||||
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/compiler-rt)
|
||||
llvm_ExternalProject_Add(builtins
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/compiler-rt/lib/builtins
|
||||
CMAKE_ARGS -DLLVM_LIBRARY_OUTPUT_INTDIR=${LLVM_LIBRARY_DIR}
|
||||
-DLLVM_RUNTIME_OUTPUT_INTDIR=${LLVM_TOOLS_BINARY_DIR}
|
||||
PASSTHROUGH_PREFIXES COMPILER_RT
|
||||
USE_TOOLCHAIN)
|
||||
set(deps builtins)
|
||||
|
Loading…
Reference in New Issue
Block a user