ddnet/cmake/FindNotify.cmake
def 7fe8afefa5 Don't require notify on Linux
Especially when only building server and not client
2020-04-30 15:05:49 +02:00

5 lines
202 B
CMake

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)