find_package(PkgConfig REQUIRED QUIET) pkg_check_modules(NOTIFY REQUIRED QUIET libnotify) include(FindPackageHandleStandardArgs) find_package_handle_standard_args(LibNotify DEFAULT_MSG NOTIFY_LIBRARIES NOTIFY_INCLUDE_DIRS)