Don't require notify on Linux

Especially when only building server and not client
This commit is contained in:
def 2020-04-30 15:05:47 +02:00
parent bd3b72e493
commit 7fe8afefa5

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)