We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf9df8e commit bc972d6Copy full SHA for bc972d6
CMakeLists.txt
@@ -21,7 +21,7 @@ if (MSVC)
21
# fine for anything except ancient MSVC versions.
22
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W4")
23
else()
24
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pedantic")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -pedantic")
25
26
# CMake versions before 3.1 do not understand CMAKE_CXX_STANDARD.
27
# Remove this block once CMake >=3.1 has fixated in the ecosystem.
0 commit comments