瀏覽代碼

Cleaned up -Wno-error=format-truncation for usrsctp

Paul-Louis Ageneau 2 年之前
父節點
當前提交
b4c4f6ff98
共有 1 個文件被更改,包括 0 次插入3 次删除
  1. 0 3
      CMakeLists.txt

+ 0 - 3
CMakeLists.txt

@@ -253,9 +253,6 @@ else()
 	if (MSYS OR MINGW)
 		target_compile_definitions(usrsctp PUBLIC -DSCTP_STDINT_INCLUDE=<stdint.h>)
 	endif()
-	if (CMAKE_CXX_COMPILER_ID MATCHES "GNU")
-    	target_compile_options(usrsctp PRIVATE -Wno-error=format-truncation)
-	endif()
 	add_library(Usrsctp::Usrsctp ALIAS usrsctp)
 endif()