on Qt6 we need to build with position independent code

otherwise linking may fail with

> copy relocation against non-copyable protected symbol `qt_resourceFeatureZstd@@Qt_6'
This commit is contained in:
Harald Sitter 2024-03-10 01:33:52 +01:00 committed by Philip Mueller
parent 28f1ac98e9
commit 752b01cbba

View File

@ -36,3 +36,4 @@ calamares_qrc_translations(calamares-i18n
)
add_library(calamares-i18n OBJECT ${translation_outfile})
set_property(TARGET calamares-i18n PROPERTY POSITION_INDEPENDENT_CODE ON)