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:
Subhraman Sarkar 2024-11-17 11:30:51 +05:30
parent c67d447901
commit 3afa75225f

View file

@ -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 ###########