We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent abd0666 commit 4db2202Copy full SHA for 4db2202
CMakeLists.txt
@@ -74,7 +74,7 @@ if (CMAKE_C_COMPILER_ID MATCHES "Clang")
74
-Wno-padded -Wno-covered-switch-default -Wno-declaration-after-statement -Wno-unsafe-buffer-usage
75
${GLFM_COMPILE_OPTIONS})
76
elseif (CMAKE_C_COMPILER_ID MATCHES "GNU")
77
- set_property(TARGET glfm PROPERTY COMPILE_OPTIONS -Wall -Wextra -Wwrite-strings ${GLFM_COMPILE_OPTIONS})
+ set_property(TARGET glfm PROPERTY COMPILE_OPTIONS -Wall -Wextra -Wpedantic -Wwrite-strings ${GLFM_COMPILE_OPTIONS})
78
elseif (CMAKE_C_COMPILER_ID MATCHES "MSVC")
79
set_property(TARGET glfm PROPERTY COMPILE_OPTIONS /Wall ${GLFM_COMPILE_OPTIONS})
80
endif()
0 commit comments