update extraction of the version for the installer
This commit is contained in:
parent
112bfd4445
commit
477679d139
|
@ -32,7 +32,8 @@ ENDIF(NOT CONFIG_HAS_BEEN_RUN_BEFORE)
|
||||||
#extracting the current version...
|
#extracting the current version...
|
||||||
EXECUTE_PROCESS(
|
EXECUTE_PROCESS(
|
||||||
COMMAND /usr/bin/sed
|
COMMAND /usr/bin/sed
|
||||||
-n -e "s/.*glestVersionString= \"v\\\(.*\\\)\";.*/\\1/p"
|
-n -e "s/.*glestVersionString = \"v\\\(.*\\\)\";.*/\\1/p"
|
||||||
|
|
||||||
game_util.cpp
|
game_util.cpp
|
||||||
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/source/glest_game/facilities"
|
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/source/glest_game/facilities"
|
||||||
OUTPUT_VARIABLE MEGAGLEST_VERSION )
|
OUTPUT_VARIABLE MEGAGLEST_VERSION )
|
||||||
|
|
Loading…
Reference in New Issue