Skip to content

Commit 4db2202

Browse files
committed
Update compile flags
1 parent abd0666 commit 4db2202

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ if (CMAKE_C_COMPILER_ID MATCHES "Clang")
7474
-Wno-padded -Wno-covered-switch-default -Wno-declaration-after-statement -Wno-unsafe-buffer-usage
7575
${GLFM_COMPILE_OPTIONS})
7676
elseif (CMAKE_C_COMPILER_ID MATCHES "GNU")
77-
set_property(TARGET glfm PROPERTY COMPILE_OPTIONS -Wall -Wextra -Wwrite-strings ${GLFM_COMPILE_OPTIONS})
77+
set_property(TARGET glfm PROPERTY COMPILE_OPTIONS -Wall -Wextra -Wpedantic -Wwrite-strings ${GLFM_COMPILE_OPTIONS})
7878
elseif (CMAKE_C_COMPILER_ID MATCHES "MSVC")
7979
set_property(TARGET glfm PROPERTY COMPILE_OPTIONS /Wall ${GLFM_COMPILE_OPTIONS})
8080
endif()

0 commit comments

Comments
 (0)