File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,9 +7,9 @@ add_subdirectory(unboxing EXCLUDE_FROM_ALL)
77if (WIN32 )
88 set (WARNINGS /MP)
99elseif (APPLE )
10- set (WARNINGS -Wall -Wextra -Wpedantic -pedantic-errors -Wformat-overflow -Wstrict-overflow=2 -Werror )
10+ set (WARNINGS -Wall -Wextra -Wpedantic -pedantic-errors -Wformat-overflow -Wstrict-overflow=2)
1111else ()
12- set (WARNINGS -Wall -Wextra -Wpedantic -pedantic-errors -Wformat-overflow=1 -Wstrict-overflow=2 -Werror )
12+ set (WARNINGS -Wall -Wextra -Wpedantic -pedantic-errors -Wformat-overflow=1 -Wstrict-overflow=2)
1313endif ()
1414
1515add_library (minixml
@@ -28,7 +28,7 @@ target_compile_options(minixml PRIVATE ${WARNINGS})
2828target_include_directories (minixml PUBLIC thirdparty/minixml/inc )
2929if (WIN32 )
3030 target_compile_definitions (minixml PRIVATE _CRT_SECURE_NO_WARNINGS )
31- else ( )
31+ elseif ( NOT APPLE )
3232 target_compile_options (minixml PRIVATE -Wno-use-after-free )
3333endif ()
3434
You can’t perform that action at this time.
0 commit comments