diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2023-03-06 20:45:10 -0500 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2023-03-06 20:45:19 -0500 |
commit | fbbfdc9606b9105a5559147c70a0bb0a8a7b1039 (patch) | |
tree | 038c4434da5e3b8488a5ad165d88eef6ae4e91fa /CMakeLists.txt | |
parent | 64085fafec86b347c26bb92b758042a0bd4edc75 (diff) | |
download | abaddon-portaudio-fbbfdc9606b9105a5559147c70a0bb0a8a7b1039.tar.gz abaddon-portaudio-fbbfdc9606b9105a5559147c70a0bb0a8a7b1039.zip |
notification sounds with miniaudio
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 4122d10..dc08b6c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,6 +9,7 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/") option(USE_LIBHANDY "Enable features that require libhandy (default)" ON) option(USE_KEYCHAIN "Store the token in the keychain (default)" ON) +option(USE_MINIAUDIO "Enable features that require miniaudio (default)" ON) find_package(nlohmann_json REQUIRED) find_package(CURL) @@ -123,3 +124,8 @@ if (USE_KEYCHAIN) target_compile_definitions(abaddon PRIVATE WITH_KEYCHAIN) endif () endif () + +if (USE_MINIAUDIO) + target_include_directories(abaddon PUBLIC subprojects/miniaudio) + target_compile_definitions(abaddon PRIVATE WITH_MINIAUDIO) +endif () |