summaryrefslogtreecommitdiffstats
path: root/lldb/source/CMakeLists.txt
diff options
context:
space:
mode:
authorMichal Gorny <mgorny@gentoo.org>2016-10-19 12:54:28 +0000
committerMichal Gorny <mgorny@gentoo.org>2016-10-19 12:54:28 +0000
commite2f4b25d046954fbe564fedfb17f7d8b9d32887a (patch)
tree07f0e8ecd520b570fa6ca854d6b9752cfca8bf77 /lldb/source/CMakeLists.txt
parent7c3e4ebd92f986cdc3b512cd6983607e135f9c62 (diff)
downloadbcm5719-llvm-e2f4b25d046954fbe564fedfb17f7d8b9d32887a.tar.gz
bcm5719-llvm-e2f4b25d046954fbe564fedfb17f7d8b9d32887a.zip
[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. llvm-svn: 284584
Diffstat (limited to 'lldb/source/CMakeLists.txt')
-rw-r--r--lldb/source/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/CMakeLists.txt b/lldb/source/CMakeLists.txt
index 8b3085bd05d..e921b948856 100644
--- a/lldb/source/CMakeLists.txt
+++ b/lldb/source/CMakeLists.txt
@@ -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}"
OpenPOWER on IntegriCloud