Skip to content
Permalink
Browse files

QT version base fix

  • Loading branch information
3nids committed Mar 24, 2021
1 parent 286fd20 commit 02691caf82bc190001c5ef7bb66507324cb64485
Showing with 3 additions and 2 deletions.
  1. +3 −2 i18n/CMakeLists.txt
@@ -1,5 +1,5 @@
find_package(Qt5 COMPONENTS LinguistTools REQUIRED)
set(QT_LRELEASE_EXECUTABLE Qt5::lrelease)
find_package(${QT_VERSION_BASE} COMPONENTS LinguistTools REQUIRED)
set(QT_LRELEASE_EXECUTABLE ${QT_VERSION_BASE}::lrelease)

macro(ADD_TRANSLATION_FILES _sources )
foreach (_current_FILE ${ARGN})
@@ -22,6 +22,7 @@ endmacro(ADD_TRANSLATION_FILES)
# make sure the output directory exists
file(MAKE_DIRECTORY ${QGIS_OUTPUT_DIRECTORY}/i18n)


set(TS_FILES qgis_ar.ts qgis_bg.ts qgis_bs.ts qgis_ca.ts qgis_cs.ts qgis_da.ts qgis_de.ts qgis_el.ts qgis_es.ts qgis_et.ts qgis_eu.ts qgis_fi.ts qgis_fr.ts qgis_gl.ts qgis_hu.ts qgis_is.ts qgis_it.ts qgis_ja.ts qgis_ko.ts qgis_ky.ts qgis_lt.ts qgis_lv.ts qgis_nb.ts qgis_nl.ts qgis_pl.ts qgis_pt_BR.ts qgis_pt_PT.ts qgis_ro.ts qgis_ru.ts qgis_sc.ts qgis_sv.ts qgis_uk.ts qgis_vi.ts qgis_zh-Hans.ts qgis_zh-Hant.ts)

ADD_TRANSLATION_FILES (QM_FILES ${TS_FILES})

0 comments on commit 02691ca

Please sign in to comment.