From 5efa005715655ef49649c296c5a38fe70922a2e4 Mon Sep 17 00:00:00 2001 From: kervala Date: Sat, 7 Nov 2015 14:57:43 +0100 Subject: [PATCH] Fixed: Add revision in Info.plist for long version --- code/ryzom/client/src/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/ryzom/client/src/CMakeLists.txt b/code/ryzom/client/src/CMakeLists.txt index b9747eb0f..ccfa52620 100644 --- a/code/ryzom/client/src/CMakeLists.txt +++ b/code/ryzom/client/src/CMakeLists.txt @@ -50,6 +50,11 @@ if(APPLE) SET(RYZOM_VERSION_SHORT "2.1.0") SET(RYZOM_VERSION_LONG "2.1.0") + # define directories used by GetRevision + SET(SOURCE_DIR ${CMAKE_SOURCE_DIR}) + SET(ROOT_DIR ${CMAKE_SOURCE_DIR}/..) + INCLUDE(GetRevision) + IF(REVISION) SET(RYZOM_VERSION_LONG "${RYZOM_VERSION_LONG}.${REVISION}") ENDIF()