[Lldb-commits] [lldb] r284584 - [cmake] Use LLVM_CMAKE_PATH for GetSVN script

Michal Gorny via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 19 05:54:29 PDT 2016

Author: mgorny
Date: Wed Oct 19 07:54:28 2016
New Revision: 284584

URL: http://llvm.org/viewvc/llvm-project?rev=284584&view=rev
[cmake] Use LLVM_CMAKE_PATH for GetSVN script

Use the LLVM_CMAKE_PATH variable to locate the GetSVN.cmake script.
The variable was already available in stand-alone builds, and is also
set by LLVM since r284581.


Modified: lldb/trunk/source/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/CMakeLists.txt?rev=284584&r1=284583&r2=284584&view=diff
--- lldb/trunk/source/CMakeLists.txt (original)
+++ lldb/trunk/source/CMakeLists.txt Wed Oct 19 07:54:28 2016
@@ -53,7 +53,7 @@ endforeach()
 if(DEFINED lldb_vc)
   set(version_inc "${CMAKE_CURRENT_BINARY_DIR}/SVNVersion.inc")
-  set(get_svn_script "${LLVM_MAIN_SRC_DIR}/cmake/modules/GetSVN.cmake")
+  set(get_svn_script "${LLVM_CMAKE_PATH}/GetSVN.cmake")
   # Create custom target to generate the VC revision include.
   add_custom_command(OUTPUT "${version_inc}"

More information about the lldb-commits mailing list