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

Fix formatting

This commit is contained in:
Ivan Savenko 2022-12-27 12:28:40 +02:00
parent bbb1d36bce
commit b6f13ea50c

View File

@ -90,12 +90,12 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON)
if(TARGET Qt6::Core)
qt_wrap_ui(launcher_UI_HEADERS ${launcher_FORMS})
if (ENABLE_TRANSLATIONS)
if(ENABLE_TRANSLATIONS)
qt_add_translation( launcher_QM ${launcher_TS} )
endif()
else()
qt5_wrap_ui(launcher_UI_HEADERS ${launcher_FORMS})
if (ENABLE_TRANSLATIONS)
if(ENABLE_TRANSLATIONS)
set_source_files_properties(${launcher_TS} PROPERTIES OUTPUT_LOCATION ${CMAKE_BINARY_DIR}/bin/${CMAKE_CFG_INTDIR}/launcher/translations)
qt5_add_translation( launcher_QM ${launcher_TS} )
endif()
@ -173,6 +173,6 @@ else()
endif()
install(DIRECTORY icons DESTINATION ${RESOURCES_DESTINATION})
if (ENABLE_TRANSLATIONS)
if(ENABLE_TRANSLATIONS)
install(DIRECTORY translation DESTINATION ${RESOURCES_DESTINATION})
endif()