Browse Source

Merge pull request #946 from paullouisageneau/update-usrsctp

Update usrsctp submodule
Paul-Louis Ageneau 2 years ago
parent
commit
a29ccebff1
2 changed files with 2 additions and 4 deletions
  1. 1 3
      CMakeLists.txt
  2. 1 1
      deps/usrsctp

+ 1 - 3
CMakeLists.txt

@@ -247,14 +247,12 @@ else()
 	option(sctp_build_programs OFF)
 	option(sctp_build_programs OFF)
 	option(sctp_inet OFF)
 	option(sctp_inet OFF)
 	option(sctp_inet6 OFF)
 	option(sctp_inet6 OFF)
+	option(sctp_werror OFF)
 	set(CMAKE_POLICY_DEFAULT_CMP0077 NEW)
 	set(CMAKE_POLICY_DEFAULT_CMP0077 NEW)
 	add_subdirectory(deps/usrsctp EXCLUDE_FROM_ALL)
 	add_subdirectory(deps/usrsctp EXCLUDE_FROM_ALL)
 	if (MSYS OR MINGW)
 	if (MSYS OR MINGW)
 		target_compile_definitions(usrsctp PUBLIC -DSCTP_STDINT_INCLUDE=<stdint.h>)
 		target_compile_definitions(usrsctp PUBLIC -DSCTP_STDINT_INCLUDE=<stdint.h>)
 	endif()
 	endif()
-	if (CMAKE_CXX_COMPILER_ID MATCHES "GNU")
-    	target_compile_options(usrsctp PRIVATE -Wno-error=format-truncation)
-	endif()
 	add_library(Usrsctp::Usrsctp ALIAS usrsctp)
 	add_library(Usrsctp::Usrsctp ALIAS usrsctp)
 endif()
 endif()
 
 

+ 1 - 1
deps/usrsctp

@@ -1 +1 @@
-Subproject commit 7c31bd35c79ba67084ce029511193a19ceb97447
+Subproject commit 5ca29ac7d8055802c7657191325c06386640ac24