version.cmake: fix configuring version.cpp without git

release-v0.5.1
moneromooo-monero 6 years ago
parent 52f6b33890
commit a5c98609a1
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

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

Loading…
Cancel
Save