cmake: enable building with '-pedantic'
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2022-01-30 23:00:13 +01:00
parent 80fcb13e8b
commit 0e4d1aeef0
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -62,6 +62,7 @@ add_subdirectory(lib/da_threading EXCLUDE_FROM_ALL)
if(NOT CMAKE_CXX_FLAGS MATCHES "-Wall")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")
endif(NOT CMAKE_CXX_FLAGS MATCHES "-Wall")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pedantic")
if(CMAKE_BUILD_TYPE STREQUAL Debug)