diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-05-21 20:43:11 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-05-21 20:43:11 +0200 |
commit | ed22abb798e9a4018a04f0226cda1f47ee93cacc (patch) | |
tree | eeeaa42c6b4281d9cba64e3081bcdc13e1e8756a | |
parent | Merge pull request #3841 (diff) | |
parent | version.cmake: fix configuring version.cpp without git (diff) | |
download | monero-ed22abb798e9a4018a04f0226cda1f47ee93cacc.tar.xz |
Merge pull request #3807
a5c98609 version.cmake: fix configuring version.cpp without git (moneromooo-monero)
-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 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) |