Skip to content

Commit

Permalink
cmake: fix definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers committed Sep 23, 2023
1 parent 013708e commit 45cf349
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ if(CMAKE_C_COMPILER_ID MATCHES "Clang")
endif()

if(USE_SD_SOCK)
list(APPEND MIX_DEFS -DSLMIX_SD_SOCK)
list(APPEND MIX_DEFS SLMIX_SD_SOCK)
list(APPEND LINKLIBS systemd)
endif()

if(USE_UNIX_SOCK)
list(APPEND MIX_DEFS -DSLMIX_UNIX_SOCK)
list(APPEND MIX_DEFS SLMIX_UNIX_SOCK)
endif()

list(APPEND LINKLIBS gd ${LMDB_LIBRARIES})
Expand All @@ -88,7 +88,7 @@ add_subdirectory(external/baresip EXCLUDE_FROM_ALL)
find_package(re CONFIG REQUIRED)

list(APPEND RE_DEFINITIONS
-D_GNU_SOURCE
_GNU_SOURCE
)

include_directories(
Expand Down

0 comments on commit 45cf349

Please sign in to comment.