Merge branch 'master' into v0.6.0

This commit is contained in:
Thomas Krijnen
2018-12-22 14:06:28 +01:00
3 changed files with 9 additions and 2 deletions
+3 -1
View File
@@ -444,9 +444,11 @@ IF(MSVC)
ENDFOREACH()
ENDIF()
ElSE()
add_definitions(-Wall -Wextra -Wno-maybe-uninitialized)
add_definitions(-Wall -Wextra)
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_definitions(-Wno-tautological-constant-out-of-range-compare)
else()
add_definitions(-Wno-maybe-uninitialized)
endif()
# -fPIC is not relevant on Windows and creates pointless warnings
if (UNIX)