mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Fix formatting
This commit is contained in:
parent
bbb1d36bce
commit
b6f13ea50c
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user