aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Blair <snipa@jagtech.io>2020-10-14 15:25:00 -0700
committerAlexander Blair <snipa@jagtech.io>2020-10-14 15:25:00 -0700
commitbf65b077181f2e930b69a5e738726117aa844a0a (patch)
tree8556268b82e77fa44018faeb9486c98c0cd1e974
parentMerge pull request #6863 (diff)
parentcmake: Version - use CMAKE_CURRENT_LIST_DIR (diff)
downloadmonero-bf65b077181f2e930b69a5e738726117aa844a0a.tar.xz
Merge pull request #6867
826a84478 cmake: Version - use CMAKE_CURRENT_LIST_DIR (xiphon)
-rw-r--r--cmake/Version.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Version.cmake b/cmake/Version.cmake
index a6c13ab6c..707d72639 100644
--- a/cmake/Version.cmake
+++ b/cmake/Version.cmake
@@ -28,7 +28,7 @@
function (write_version tag)
set(VERSIONTAG "${tag}" CACHE STRING "The tag portion of the Monero software version" FORCE)
- configure_file("${CMAKE_SOURCE_DIR}/src/version.cpp.in" "${CMAKE_BINARY_DIR}/version.cpp")
+ configure_file("${CMAKE_CURRENT_LIST_DIR}/../src/version.cpp.in" "${CMAKE_BINARY_DIR}/version.cpp")
endfunction ()
find_package(Git QUIET)