summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2023-02-28 20:23:34 -0500
committerouwou <26526779+ouwou@users.noreply.github.com>2023-02-28 20:23:34 -0500
commite212b364b969b7918fbe9152dc4b7c04da303d12 (patch)
tree43a7ae7462cf5af50b3ef612bba57dd4ce14dce1 /CMakeLists.txt
parentba9d9997d4c4c4e9228632a962d6f0d3b1f35a6e (diff)
downloadabaddon-portaudio-e212b364b969b7918fbe9152dc4b7c04da303d12.tar.gz
abaddon-portaudio-e212b364b969b7918fbe9152dc4b7c04da303d12.zip
rudimentary dm notifications
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
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)