Skip to content

Commit

Permalink
fix rs-server can't compile when -DBUILD_WITH_OPENMP:bool=ON
Browse files Browse the repository at this point in the history
  • Loading branch information
Chiu. Aaron (TPE) authored and Chiu. Aaron (TPE) committed Oct 26, 2022
1 parent e9a29da commit 3ff6333
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 3ff6333

Please sign in to comment.