aboutsummaryrefslogtreecommitdiff
path: root/src/version.cmake
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-09-25 16:50:35 +0200
committerRiccardo Spagni <ric@spagni.net>2017-09-25 16:50:35 +0200
commitb911130a4651627e3c4307df7bac577d25267405 (patch)
tree083d48b0dca48340151dd7c8c66d3e49232313f7 /src/version.cmake
parentMerge pull request #2440 (diff)
parentbuild: auto update version info without manually deleting version.h (diff)
downloadmonero-b911130a4651627e3c4307df7bac577d25267405.tar.xz
Merge pull request #2442
e29282d2 build: auto update version info without manually deleting version.h (stoffu)
Diffstat (limited to 'src/version.cmake')
-rw-r--r--src/version.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/version.cmake b/src/version.cmake
index 623d3cf1f..45a97cd20 100644
--- a/src/version.cmake
+++ b/src/version.cmake
@@ -36,7 +36,7 @@ if(RET)
message(WARNING "Cannot determine current commit. Make sure that you are building either from a Git working tree or from a source archive.")
set(VERSIONTAG "unknown")
- configure_file("src/version.h.in" "${TO}")
+ configure_file("src/version.cpp.in" "${TO}")
else()
message(STATUS "You are currently on commit ${COMMIT}")
@@ -59,5 +59,5 @@ else()
endif()
endif()
- configure_file("src/version.h.in" "${TO}")
+ configure_file("src/version.cpp.in" "${TO}")
endif()