CMake: Fix languages not being recompiled where required

This commit is contained in:
Jonathan G Rennison 2020-07-28 17:49:50 +01:00
parent 8baa3756b3
commit 8f8e14c9b2

View File

@ -73,6 +73,7 @@ foreach(LANG_SOURCE_FILE IN LISTS LANG_SOURCE_FILES)
${LANG_SOURCE_FILE}
DEPENDS hoststrgen
MAIN_DEPENDENCY ${LANG_SOURCE_FILE}
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/english.txt
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Compiling language ${LANG_SOURCE_FILE_NAME_WE}"
)