1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-26 22:57:00 +02:00

Fix qt5 mapeditor build

This commit is contained in:
gigas002 2024-06-06 07:24:49 +00:00
parent 2f19133638
commit c8aa8bb18d

View File

@ -127,7 +127,7 @@ set(editor_TS
)
if(ENABLE_TRANSLATIONS)
if(TARGET Qt5::Core)
set_source_files_properties(${editor_TS} PROPERTIES OUTPUT_LOCATION translation)
set_source_files_properties(${editor_TS} PROPERTIES OUTPUT_LOCATION "${CMAKE_CURRENT_BINARY_DIR}/${translationsDir}")
qt5_add_translation(editor_QM ${editor_TS})
set(translationsResource "${CMAKE_CURRENT_BINARY_DIR}/translations.qrc")