diff options
author | luigi1111 <luigi1111w@gmail.com> | 2020-10-13 10:43:31 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2020-10-13 10:43:31 -0500 |
commit | 5ef94b29c3aafa6b383d74fd123c562a31cdebc6 (patch) | |
tree | b505f968cef83f55189cb68d0dfec4a3e1ae40ee /cmake | |
parent | Merge pull request #6869 (diff) | |
parent | cmake: Version - use CMAKE_CURRENT_LIST_DIR (diff) | |
download | monero-5ef94b29c3aafa6b383d74fd123c562a31cdebc6.tar.xz |
Merge pull request #6870
826a844 cmake: Version - use CMAKE_CURRENT_LIST_DIR (xiphon)
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/Version.cmake | 2 |
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) |