Skip to content

Commit 858c650

Browse files
committed
🐛 I am... so sick of implementation variance...
1 parent 47a70b3 commit 858c650

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

examples/CMakeLists.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,14 @@ function(ztd_cuneicode_example_options example_target)
4646
PRIVATE
4747
${CMAKE_CURRENT_SOURCE_DIR}/include
4848
)
49-
49+
if (MINGW)
50+
target_compile_options(${example_target}
51+
PRIVATE
52+
-Wno-format
53+
-Wno-format-diag
54+
-Wno-format-extra-args
55+
)
56+
endif()
5057
if (NOT DEFINED CUNEICODE_EXAMPLE_OPT_TEST)
5158
add_test(NAME ${example_target} COMMAND ${example_target})
5259
elseif (${CUNEICODE_EXAMPLE_OPT_TEST})

0 commit comments

Comments
 (0)