Skip to content

Commit

Permalink
PR IntelRealSense#11026 from Hsiang0717: fix rs-server can't compile …
Browse files Browse the repository at this point in the history
…when -DBUILD_WITH_OPENMP:bool=ON
  • Loading branch information
Nir-Az authored Oct 26, 2022
2 parents 429053b + 3ff6333 commit 824237e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/rs-server/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 824237e

Please sign in to comment.