diff --git a/tools/rs-server/CMakeLists.txt b/tools/rs-server/CMakeLists.txt index 617a723793..cf9d942f64 100644 --- a/tools/rs-server/CMakeLists.txt +++ b/tools/rs-server/CMakeLists.txt @@ -16,7 +16,7 @@ set(DEPENDENCIES ${DEPENDENCIES} realsense2 Threads::Threads) set(CMAKE_CXX_FLAGS "-DNEWLOCALE_NOT_USED=1 -DBSD=1 -DSOCKLEN_T=socklen_t -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -DALLOW_RTSP_SERVER_PORT_REUSE=1 -DNO_OPENSSL=1 -latomic") -SET(CMAKE_EXE_LINKER_FLAGS ${CMAKE_EXE_LINKER_FLAGS} "-pthread") +SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pthread") set(LIVE ${CMAKE_BINARY_DIR}/third-party/live)