i18n: pick up the translations CMake module just once
This commit is contained in:
parent
8b4ae1d687
commit
23bfcb755e
@ -3,11 +3,12 @@
|
||||
# SPDX-FileCopyrightText: 2020 Adriaan de Groot <groot@kde.org>
|
||||
# SPDX-License-Identifier: BSD-2-Clause
|
||||
#
|
||||
include( CalamaresAddPlugin )
|
||||
include( CalamaresAddModuleSubdirectory )
|
||||
include( CalamaresAddLibrary )
|
||||
include( CalamaresAddBrandingSubdirectory )
|
||||
include( CalamaresAddLibrary )
|
||||
include( CalamaresAddModuleSubdirectory )
|
||||
include( CalamaresAddPlugin )
|
||||
include( CalamaresAddTest )
|
||||
include( CalamaresAddTranslations )
|
||||
|
||||
# library
|
||||
add_subdirectory( libcalamares )
|
||||
|
@ -37,7 +37,6 @@ include_directories(
|
||||
)
|
||||
|
||||
# Translations
|
||||
include( CalamaresAddTranslations )
|
||||
add_calamares_translations( ${CALAMARES_TRANSLATION_LANGUAGES} )
|
||||
|
||||
add_executable( calamares_bin ${calamaresSources} calamares.qrc ${trans_outfile} )
|
||||
|
@ -73,7 +73,6 @@ foreach( _category ${_use_categories} )
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
include( CalamaresAddTranslations )
|
||||
add_calamares_python_translations( ${CALAMARES_TRANSLATION_LANGUAGES} )
|
||||
|
||||
# TODO:3.3: Use FindPython3
|
||||
|
Loading…
Reference in New Issue
Block a user