X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=CMakeLists.txt;h=57b51decea7176fc55be908733fd32f194db3858;hp=24deb865708efd8f84527ee658cbe0248ab2ea8f;hb=9ad83fb2c64caf43b3f565cc79def6d43d30a5c1;hpb=1eb37b0c2ddc69041a267afeed5a494a3599b538 diff --git a/CMakeLists.txt b/CMakeLists.txt index 24deb865..57b51dec 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -402,6 +402,12 @@ if(BUILD_GUI) ) endif() +find_package(Libsnore) +if(LIBSNORE_FOUND) + add_definitions(-DHAVE_LIBSNORE -DLIBSNORE_PLUGIN_PATH="${LIBSNORE_PLUGIN_PATH}") + set(CLIENT_LIBRARIES ${CLIENT_LIBRARIES} ${LIBSNORE_LIBRARIES}) + set(HAVE_SNORENOTIFY true) +endif(LIBSNORE_FOUND) endif(BUILD_GUI) # Core-only deps