mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2024-12-26 02:48:31 +01:00
Added discord-rpc to build process
This commit is contained in:
parent
c9a44d1ecf
commit
dc65ff3a05
@ -22,7 +22,7 @@ option(OPT_BUILD_AUDIO_SINK "Build Audio Sink Module (Depedencies: rtaudio)" ON)
|
||||
option(OPT_BUILD_FALCON9_DECODER "Build the falcon9 live decoder (Dependencies: ffplay)" OFF)
|
||||
option(OPT_BUILD_METEOR_DEMODULATOR "Build the meteor demodulator module (no dependencies required)" ON)
|
||||
option(OPT_BUILD_WEATHER_SAT_DECODER "Build the HRPT decoder module (no dependencies required)" ON)
|
||||
option(OPT_BUILD_DISCORD_PRESENCE "Build the Discord Rich Presence module" ON)
|
||||
option(OPT_BUILD_DISCORD_PRESENCE "Build the Discord Rich Presence module (Dependencies: rapidjson)" ON)
|
||||
# Core of SDR++
|
||||
add_subdirectory("core")
|
||||
|
||||
|
@ -11,7 +11,9 @@ endif ()
|
||||
|
||||
file(GLOB SRC "src/*.cpp")
|
||||
|
||||
include_directories("src/")
|
||||
include_directories("src/" "discord-rpc/include")
|
||||
|
||||
add_subdirectory("discord-rpc")
|
||||
|
||||
add_library(discord SHARED ${SRC})
|
||||
target_link_libraries(discord PRIVATE sdrpp_core)
|
||||
|
@ -5,6 +5,8 @@
|
||||
#include <gui/style.h>
|
||||
#include <core.h>
|
||||
|
||||
#include <discord_rpc.h>
|
||||
|
||||
SDRPP_MOD_INFO {
|
||||
/* Name: */ "discord",
|
||||
/* Description: */ "Discord Rich Presence module for SDR++",
|
||||
|
Loading…
Reference in New Issue
Block a user