aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxiphon <xiphon@protonmail.com>2020-10-07 20:13:24 +0000
committerxiphon <xiphon@protonmail.com>2020-10-07 20:21:25 +0000
commit826a84478d30bdf0caabc648606eecae76818462 (patch)
tree9e3508af6f8201852053b81d1710a8314ea5bad6
parentd27d4526fe89b7cdeb4b296280c4a6cf7efe21f8 (diff)
downloadmonzero-core-826a84478d30bdf0caabc648606eecae76818462.tar.gz
monzero-core-826a84478d30bdf0caabc648606eecae76818462.tar.xz
monzero-core-826a84478d30bdf0caabc648606eecae76818462.zip
cmake: Version - use CMAKE_CURRENT_LIST_DIR
-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)