[llvm-commits] [llvm] r82529 - /llvm/trunk/tools/llvm-config/CMakeLists.txt

Daniel Dunbar daniel at zuster.org
Mon Sep 21 23:09:31 PDT 2009


Author: ddunbar
Date: Tue Sep 22 01:09:31 2009
New Revision: 82529

URL: http://llvm.org/viewvc/llvm-project?rev=82529&view=rev
Log:
Fix llvm-config --src-root and --obj-root for CMake builds.

Modified:
    llvm/trunk/tools/llvm-config/CMakeLists.txt

Modified: llvm/trunk/tools/llvm-config/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-config/CMakeLists.txt?rev=82529&r1=82528&r2=82529&view=diff

==============================================================================
--- llvm/trunk/tools/llvm-config/CMakeLists.txt (original)
+++ llvm/trunk/tools/llvm-config/CMakeLists.txt Tue Sep 22 01:09:31 2009
@@ -8,6 +8,8 @@
 set(PERL ${PERL_EXECUTABLE})
 set(VERSION PACKAGE_VERSION)
 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
   OUTPUT_VARIABLE LLVM_CONFIGTIME
   OUTPUT_STRIP_TRAILING_WHITESPACE)





More information about the llvm-commits mailing list