From 41cb11b211ff9f6129feca515ab41ceb61f960b9 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Tue, 15 May 2018 18:40:16 +0100 Subject: [PATCH] version.cmake: fix configuring version.cpp without git --- cmake/Version.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)