mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-19 10:53:55 +00:00
Fix llvm-config --src-root and --obj-root for CMake builds.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82529 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
eba6b261c5
commit
bf6f0859b0
@ -8,6 +8,8 @@ endif( NOT PERL_FOUND )
|
|||||||
set(PERL ${PERL_EXECUTABLE})
|
set(PERL ${PERL_EXECUTABLE})
|
||||||
set(VERSION PACKAGE_VERSION)
|
set(VERSION PACKAGE_VERSION)
|
||||||
set(PREFIX ${LLVM_BINARY_DIR}) # TODO: Root for `make install'.
|
set(PREFIX ${LLVM_BINARY_DIR}) # TODO: Root for `make install'.
|
||||||
|
set(abs_top_srcdir ${LLVM_MAIN_SRC_DIR})
|
||||||
|
set(abs_top_builddir ${LLVM_BINARY_DIR})
|
||||||
execute_process(COMMAND date
|
execute_process(COMMAND date
|
||||||
OUTPUT_VARIABLE LLVM_CONFIGTIME
|
OUTPUT_VARIABLE LLVM_CONFIGTIME
|
||||||
OUTPUT_STRIP_TRAILING_WHITESPACE)
|
OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user