diff --git a/mapeditor/CMakeLists.txt b/mapeditor/CMakeLists.txt index ff9fdcd28..8787ea046 100644 --- a/mapeditor/CMakeLists.txt +++ b/mapeditor/CMakeLists.txt @@ -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()