From 45cf3499c0af9a4493b00dc9d7e871ccec442cda Mon Sep 17 00:00:00 2001 From: Sebastian Reimers Date: Sat, 23 Sep 2023 14:29:17 +0200 Subject: [PATCH] cmake: fix definitions --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b1c66cc4..851a86c9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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}) @@ -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(