2155: Don't require notify on Linux r=heinrich5991 a=def-

Especially when only building server and not client

Co-authored-by: def <dennis@felsin9.de>
This commit is contained in:
bors[bot] 2020-04-30 13:22:50 +00:00 committed by GitHub
commit e5442c4d74
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
find_package(PkgConfig REQUIRED QUIET)
pkg_check_modules(NOTIFY REQUIRED QUIET libnotify)
find_package(PkgConfig QUIET)
pkg_check_modules(NOTIFY QUIET libnotify)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Notify DEFAULT_MSG NOTIFY_LIBRARIES NOTIFY_INCLUDE_DIRS)