Merge pull request #3807

a5c98609 version.cmake: fix configuring version.cpp without git (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2018-05-21 20:43:11 +02:00
commit ed22abb798
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD
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)