version.cmake: fix configuring version.cpp without git

This commit is contained in:
moneromooo-monero 2018-05-15 18:40:16 +01:00 committed by wowario
parent b713b0ae43
commit ed9f2d782c
No known key found for this signature in database
GPG Key ID: 24DCBE762DE9C111
1 changed files with 1 additions and 1 deletions

View File

@ -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)