Commit d42b927b authored by Jan Möbius's avatar Jan Möbius

Allow version override via branding dir



git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@16980 383ad7c9-94d9-4d36-a494-682f7c89f535
parent d90f5711
......@@ -43,7 +43,9 @@ endif()
# read version from file
macro (acg_get_version)
if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${ARGN}/VERSION")
if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/branding/VERSION")
file (READ "${CMAKE_CURRENT_SOURCE_DIR}/branding/VERSION" _file)
elseif (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${ARGN}/VERSION")
file (READ "${CMAKE_CURRENT_SOURCE_DIR}/${ARGN}/VERSION" _file)
else ()
file (READ "${CMAKE_CURRENT_SOURCE_DIR}/VERSION" _file)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment