[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:
parent
eef3bb19d3
commit
04e93f513c
@ -138,8 +138,9 @@ if(KPMcore_FOUND)
|
|||||||
partition/PartitionIterator.cpp
|
partition/PartitionIterator.cpp
|
||||||
partition/PartitionQuery.cpp
|
partition/PartitionQuery.cpp
|
||||||
)
|
)
|
||||||
target_link_libraries(calamares PRIVATE calamares::kpmcore)
|
|
||||||
endif()
|
endif()
|
||||||
|
# Always, since this also handles the no-KPMcore case
|
||||||
|
target_link_libraries(calamares PRIVATE calamares::kpmcore)
|
||||||
|
|
||||||
### LIBRARY
|
### LIBRARY
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user