CMake: build libcalamares with an internal name for KPMcore

This commit is contained in:
Adriaan de Groot 2022-07-23 23:48:21 +02:00
parent 8a43ed99ed
commit ba96f7ddc2

View File

@ -139,8 +139,10 @@ if(KPMcore_FOUND)
partition/PartitionQuery.cpp partition/PartitionQuery.cpp
) )
endif() endif()
# Always, since this also handles the no-KPMcore case # Always, since this also handles the no-KPMcore case; we don't
target_link_libraries(calamares PRIVATE calamares::kpmcore) # call it calamares::kpmcore because that name exists only
# when KPMcore is actually found.
target_link_libraries(calamares PRIVATE calapmcore)
### LIBRARY ### LIBRARY
# #