Merge pull request #6870

826a844 cmake: Version - use CMAKE_CURRENT_LIST_DIR (xiphon)
remotes/1691602464505633909/tmp_refs/heads/wonerujo-v0.10.1
luigi1111 4 years ago
commit 5ef94b29c3
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

@ -28,7 +28,7 @@
function (write_version tag)
set(VERSIONTAG "${tag}" CACHE STRING "The tag portion of the Monero software version" FORCE)
configure_file("${CMAKE_SOURCE_DIR}/src/version.cpp.in" "${CMAKE_BINARY_DIR}/version.cpp")
configure_file("${CMAKE_CURRENT_LIST_DIR}/../src/version.cpp.in" "${CMAKE_BINARY_DIR}/version.cpp")
endfunction ()
find_package(Git QUIET)

Loading…
Cancel
Save