[libcalamares] Always use the calamares::kpmcore library

When KPMcore is present, the calamares::kpmcore wraps that
and provides suitable API detection. If KPMcore is not
present, the same interface library provides -DWITHOUT_KPMcore.
This commit is contained in:
Adriaan de Groot 2022-07-19 11:41:01 +02:00
parent eef3bb19d3
commit 04e93f513c

View File

@ -138,8 +138,9 @@ if(KPMcore_FOUND)
partition/PartitionIterator.cpp
partition/PartitionQuery.cpp
)
target_link_libraries(calamares PRIVATE calamares::kpmcore)
endif()
# Always, since this also handles the no-KPMcore case
target_link_libraries(calamares PRIVATE calamares::kpmcore)
### LIBRARY
#