|
|
@@ -91,6 +91,8 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
|
|
if(TARGET Qt6::Core)
|
|
|
qt_wrap_ui(launcher_UI_HEADERS ${launcher_FORMS})
|
|
|
if(ENABLE_TRANSLATIONS)
|
|
|
+ set_source_files_properties(${launcher_TS} PROPERTIES OUTPUT_LOCATION ${CMAKE_CURRENT_BINARY_DIR}/translation)
|
|
|
+ # TODO: consider using qt_add_translations: https://doc.qt.io/qt-6/qtlinguist-cmake-qt-add-translations.html
|
|
|
qt_add_translation( launcher_QM ${launcher_TS} )
|
|
|
endif()
|
|
|
else()
|