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