1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-12 02:28:11 +02:00

Fix formatting

This commit is contained in:
Ivan Savenko 2022-12-27 12:29:18 +02:00
parent dd172b0ea6
commit 3df3fd2c14

View File

@ -92,12 +92,12 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON)
if(TARGET Qt6::Core)
qt_wrap_ui(editor_UI_HEADERS ${editor_FORMS})
if (ENABLE_TRANSLATIONS)
if(ENABLE_TRANSLATIONS)
qt_add_translation( editor_QM ${editor_TS} )
endif()
else()
qt5_wrap_ui(editor_UI_HEADERS ${editor_FORMS})
if (ENABLE_TRANSLATIONS)
if(ENABLE_TRANSLATIONS)
set_source_files_properties(${editor_TS} PROPERTIES OUTPUT_LOCATION ${CMAKE_BINARY_DIR}/bin/${CMAKE_CFG_INTDIR}/mapeditor/translations)
qt5_add_translation( editor_QM ${editor_TS} )
endif()