mirror of
https://github.com/recp/cglm.git
synced 2025-10-03 08:41:55 +00:00
-Wextra and -Wpedantic
This commit is contained in:
@@ -44,7 +44,7 @@ if(MSVC)
|
|||||||
endforeach(flag_var)
|
endforeach(flag_var)
|
||||||
endif()
|
endif()
|
||||||
else()
|
else()
|
||||||
add_compile_options(-Wall)
|
add_compile_options(-Wall -Wextra -Wpedantic)
|
||||||
|
|
||||||
if(NOT CMAKE_BUILD_TYPE MATCHES Debug)
|
if(NOT CMAKE_BUILD_TYPE MATCHES Debug)
|
||||||
add_compile_options(-O3)
|
add_compile_options(-O3)
|
||||||
|
Reference in New Issue
Block a user