cmake: fix broken ENABLE_DISPLAY_REVISION option
LOAD_REVISION is used in game_version.cpp rather than game_config.cpp
This commit is contained in:
parent
c67d447901
commit
3afa75225f
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ if(ENABLE_DISPLAY_REVISION)
|
|||
)
|
||||
|
||||
add_dependencies(wesnoth-revision wesnoth-revision_dummy)
|
||||
set_source_files_properties(game_config.cpp PROPERTIES COMPILE_DEFINITIONS "LOAD_REVISION")
|
||||
set_source_files_properties(game_version.cpp PROPERTIES COMPILE_DEFINITIONS "LOAD_REVISION")
|
||||
endif()
|
||||
|
||||
########### Conf Tests ###########
|
||||
|
|
Loading…
Add table
Reference in a new issue