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 4f7816a commit 4bd051aCopy full SHA for 4bd051a
CMakeLists.txt
@@ -7,6 +7,10 @@ list(APPEND CMAKE_MODULE_PATH
7
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules")
8
9
add_definitions(-std=c++14 -Wall -Werror)
10
+if(CMAKE_COMPILER_IS_GNUCXX)
11
+ add_definitions(-Werror)
12
+endif()
13
+
14
if(COVERAGE)
15
add_definitions(--coverage)
16
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} --coverage")
0 commit comments