################################################# # # (C) 2010-2011 Serghei Amelian # serghei (DOT) amelian (AT) gmail.com # # Improvements and feedback are welcome # # This file is released under GPL >= 2 # ################################################# check_include_file( "lockdev.h" HAVE_LOCKDEV_H ) if( HAVE_LOCKDEV_H ) check_library_exists( lockdev dev_unlock "" HAVE_LOCKDEV ) if( HAVE_LOCKDEV ) set( LOCKDEV_LIBRARY lockdev CACHE INTERNAL "" FORCE ) endif( ) endif( )