mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-08-31 02:13:51 +08:00
deps/jansson: Disable warnings on Clang and GCC
This commit is contained in:
Vendored
+6
@@ -701,5 +701,11 @@ set(JANSSON_LIBRARIES
|
||||
jansson
|
||||
CACHE STRING "Jansson libraries")
|
||||
|
||||
if (NOT MSVC)
|
||||
target_compile_options(jansson PUBLIC
|
||||
-Wno-format-truncation
|
||||
-Wno-implicit-fallthrough)
|
||||
endif()
|
||||
|
||||
target_include_directories(jansson PUBLIC src
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/include")
|
||||
|
||||
Reference in New Issue
Block a user