[partition] Build tests with consistent flags (in particular, KPMCore4-API flags)

This commit is contained in:
Adriaan de Groot 2021-12-07 15:51:45 +01:00
parent 4611545f93
commit 09f47b5762

View File

@ -61,6 +61,7 @@ calamares_add_test(
SOURCES
${PartitionModule_SOURCE_DIR}/jobs/AutoMountManagementJob.cpp
AutoMountTests.cpp
DEFINITIONS ${_partition_defs}
)
calamares_add_test(
@ -70,4 +71,5 @@ calamares_add_test(
${PartitionModule_SOURCE_DIR}/core/DeviceList.cpp
LIBRARIES
kpmcore
DEFINITIONS ${_partition_defs}
)