Branding: generate wrapper script with cmake

This commit is contained in:
Latif Khalifa
2014-05-25 16:57:35 +02:00
parent 22cded7ccc
commit 1dbd913d9d
2 changed files with 9 additions and 2 deletions

View File

@@ -52,6 +52,13 @@ if (DARWIN)
)
endif (DARWIN)
if (LINUX)
configure_file(
${CMAKE_SOURCE_DIR}/newview/linux_tools/wrapper.sh.in
${CMAKE_SOURCE_DIR}/newview/linux_tools/wrapper.sh
)
endif (LINUX)
# Compose the version.
set(viewer_VERSION "${vMAJOR}.${vMINOR}.${vPATCH}.${vBUILD}")
if (viewer_VERSION MATCHES "^[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+$")