llvm.org GIT mirror llvm / 6aad1fb
[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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@280002 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Bieneman 4 years ago
1 changed file(s) with 2 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
122122 if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/compiler-rt)
123123 llvm_ExternalProject_Add(builtins
124124 ${CMAKE_CURRENT_SOURCE_DIR}/compiler-rt/lib/builtins
125 CMAKE_ARGS -DLLVM_LIBRARY_OUTPUT_INTDIR=${LLVM_LIBRARY_DIR}
126 -DLLVM_RUNTIME_OUTPUT_INTDIR=${LLVM_TOOLS_BINARY_DIR}
125127 PASSTHROUGH_PREFIXES COMPILER_RT
126128 USE_TOOLCHAIN)
127129 set(deps builtins)