aboutsummaryrefslogtreecommitdiff
path: root/cmake/Version.cmake
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-05-15 18:40:16 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-05-15 18:40:16 +0100
commita5c98609a11951a966b48b05f38780a147256f0b (patch)
tree8b4595847b282aa22737db03c0f29d90a29b574a /cmake/Version.cmake
parentMerge pull request #3775 (diff)
downloadmonero-a5c98609a11951a966b48b05f38780a147256f0b.tar.xz
version.cmake: fix configuring version.cpp without git
Diffstat (limited to 'cmake/Version.cmake')
-rw-r--r--cmake/Version.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Version.cmake b/cmake/Version.cmake
index 439c4c5ae..3677e80d7 100644
--- a/cmake/Version.cmake
+++ b/cmake/Version.cmake
@@ -28,7 +28,7 @@
function (write_static_version_header hash)
set(VERSIONTAG "${hash}")
- configure_file("src/version.cpp.in" "version.cpp")
+ configure_file("${CMAKE_SOURCE_DIR}/src/version.cpp.in" "${CMAKE_BINARY_DIR}/version.cpp")
endfunction ()
find_package(Git QUIET)