Fixed warning on non-GCC compilers
This commit is contained in:
parent
938079a75f
commit
18aa0f9e20
|
@ -125,7 +125,9 @@ set(webRTCFiles
|
|||
)
|
||||
add_library(webRTC ${webRTCFiles})
|
||||
target_compile_options(webRTC PRIVATE ${disableWarningsFlags})
|
||||
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
|
||||
target_compile_options(webRTC PRIVATE -pthread -lpthread)
|
||||
endif()
|
||||
if (NOT WIN32)
|
||||
target_compile_definitions(webRTC PRIVATE WEBRTC_POSIX)
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue