Skip to content
Snippets Groups Projects
Commit 2dbcee34 authored by Adriaan de Groot's avatar Adriaan de Groot Committed by Philip
Browse files

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.
parent 839a34da
No related branches found
No related tags found
No related merge requests found
......@@ -11,6 +11,15 @@ find_package( KF5 REQUIRED CoreAddons )
find_package( KF5 REQUIRED Config I18n IconThemes KIO Service )
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 )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment