From e212b364b969b7918fbe9152dc4b7c04da303d12 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Tue, 28 Feb 2023 20:23:34 -0500 Subject: rudimentary dm notifications --- CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index cf44f0a..3d6f73f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -48,6 +48,8 @@ file(GLOB_RECURSE ABADDON_SOURCES "src/*.cpp" ) +list(FILTER ABADDON_SOURCES EXCLUDE REGEX ".*notifier_gio\\.cpp$") + add_executable(abaddon ${ABADDON_SOURCES}) target_include_directories(abaddon PUBLIC ${PROJECT_SOURCE_DIR}/src) target_include_directories(abaddon PUBLIC ${PROJECT_BINARY_DIR}) @@ -64,6 +66,10 @@ if ((CMAKE_CXX_COMPILER_ID STREQUAL "GNU") OR target_link_libraries(abaddon stdc++fs) endif () +if (NOT WIN32) + target_sources(abaddon PRIVATE src/notifications/notifier_gio.cpp) +endif () + if (IXWebSocket_LIBRARIES) target_link_libraries(abaddon ${IXWebSocket_LIBRARIES}) find_library(MBEDTLS_X509_LIBRARY mbedx509) -- cgit v1.2.3