Add hiredis build/runtime dependency for upcoming Redis backend
This commit is contained in:
1 parent
5708e2d0e8
commit
2877d6be79
2 files changed
+7
No files matched your search
@@ -24,6 +24,11 @@ pkg_check_modules(MOSQUITTO REQUIRED libmosquitto)
|
||||
include_directories(${MOSQUITTO_INCLUDE_DIRS})
|
||||
set(LIBS ${LIBS} ${MOSQUITTO_LIBRARIES})
|
||||
|
||||
# Find hiredis library (Redis C client)
|
||||
pkg_check_modules(HIREDIS REQUIRED hiredis)
|
||||
include_directories(${HIREDIS_INCLUDE_DIRS})
|
||||
set(LIBS ${LIBS} ${HIREDIS_LIBRARIES})
|
||||
|
||||
# Add project libraries
|
||||
set(LIBS asynccpp asyncaudio asynccore svxmisc ${LIBS})
|
||||
|
||||
|
||||
Reference in new issue
Block a user