mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-25 03:15:44 -05:00
PartitionModule: look for atasmart and blkid, to avoid link-time failure.
This just puts a warning in the cmake log, but will help diagnose situations where libatasmart.so.4 is installed, but libatasmart.so is not -- in which case -latasmart fails.
This commit is contained in:
parent
81421db073
commit
3677708d3e
1 changed files with 9 additions and 0 deletions
|
@ -11,6 +11,15 @@ find_package( KF5 REQUIRED CoreAddons )
|
||||||
find_package( KF5 REQUIRED Config I18n IconThemes KIO Service )
|
find_package( KF5 REQUIRED Config I18n IconThemes KIO Service )
|
||||||
|
|
||||||
find_package( KPMcore 3.0.3 REQUIRED )
|
find_package( KPMcore 3.0.3 REQUIRED )
|
||||||
|
find_library( atasmart_LIB atasmart )
|
||||||
|
find_library( blkid_LIB blkid )
|
||||||
|
if( NOT atasmart_LIB )
|
||||||
|
message( WARNING "atasmart library not found." )
|
||||||
|
endif()
|
||||||
|
if( NOT blkid_LIB )
|
||||||
|
message( WARNING "blkid library not found." )
|
||||||
|
endif()
|
||||||
|
|
||||||
|
|
||||||
add_subdirectory( tests )
|
add_subdirectory( tests )
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue