diff --git a/CMakeLists.txt b/CMakeLists.txt index 11b8768aab..0e1a1f0199 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -332,10 +332,12 @@ foreach(runtime ${RUNTIMES}) endforeach() endif() +configure_file(VERSION.txt.in VERSION.txt @ONLY) + install( FILES NOTICE.txt - VERSION.txt + ${CMAKE_CURRENT_BINARY_DIR}/VERSION.txt NEWS.txt DESTINATION . ) diff --git a/VERSION.txt b/VERSION.txt deleted file mode 100644 index cd51a21923..0000000000 --- a/VERSION.txt +++ /dev/null @@ -1 +0,0 @@ -1.3.1-rc1 diff --git a/VERSION.txt.in b/VERSION.txt.in new file mode 100644 index 0000000000..61b48e83ac --- /dev/null +++ b/VERSION.txt.in @@ -0,0 +1 @@ +@ROADRUNNER_VERSION@