mirror of
https://github.com/monero-project/monero.git
synced 2024-11-17 08:17:37 +00:00
cmake: Version - use CMAKE_CURRENT_LIST_DIR
This commit is contained in:
parent
d27d4526fe
commit
826a84478d
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
function (write_version tag)
|
function (write_version tag)
|
||||||
set(VERSIONTAG "${tag}" CACHE STRING "The tag portion of the Monero software version" FORCE)
|
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 ()
|
endfunction ()
|
||||||
|
|
||||||
find_package(Git QUIET)
|
find_package(Git QUIET)
|
||||||
|
|
Loading…
Reference in a new issue