Skip to content

Commit

Permalink
add wno to libsrtp in cmake_c_flags
Browse files Browse the repository at this point in the history
  • Loading branch information
niyatim23 committed Nov 21, 2023
1 parent 0bfdc11 commit ac7240d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMake/Dependencies/libsrtp-CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ if(BUILD_LIBSRTP_DESTINATION_PLATFORM STREQUAL BUILD_LIBSRTP_HOST_PLATFORM)
endif()

if (DEFINED CMAKE_OSX_SYSROOT AND NOT CMAKE_OSX_SYSROOT STREQUAL "")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -isysroot${CMAKE_OSX_SYSROOT}")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -isysroot${CMAKE_OSX_SYSROOT}" -Wno-nullability-completeness)
endif()
endif()
endif()
Expand Down

0 comments on commit ac7240d

Please sign in to comment.