Commit 1a805c53 authored by Simon Boyé's avatar Simon Boyé

Replaced -Wpedantic by -pedantic to support older versions of gcc.

parent e48c8bf1
......@@ -112,7 +112,7 @@ endif(DOXYGEN_FOUND)
# Do NOT use list( APPEND ... ) with flags, as adding flags to a non-empty
# CMAKE_[...]_FLAGS introduces unwanted semicolons.
set( CMAKE_CXX_FLAGS "-Wall -Wpedantic -Wextra -Wdouble-promotion ${CMAKE_CXX_FLAGS}")
set( CMAKE_CXX_FLAGS "-Wall -pedantic -Wextra -Wdouble-promotion ${CMAKE_CXX_FLAGS}")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment