This commit is contained in:
Radovan Bast
2015-06-04 17:27:18 +02:00
parent d660ba856d
commit 60ecbdfec1
3 changed files with 22 additions and 0 deletions

View File

@ -4,6 +4,10 @@
# The reason why this information is stored
# in a file and not as CMake variable is that CMake-unaware programs can parse
# and use it (e.g. Sphinx).
#
# Defines::
#
# PROGRAM_VERSION
if(EXISTS "${PROJECT_SOURCE_DIR}/VERSION")
file(READ "${PROJECT_SOURCE_DIR}/VERSION" PROGRAM_VERSION)