From f1164f11a83d80330cc678929b16865c7d671431 Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Sat, 18 Jul 2020 13:53:30 +0200 Subject: [PATCH] Remove type limit check for GCC. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 62cb298..6e30f0e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,7 +18,7 @@ if (WINDOWS) endif (WINDOWS) if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU") - add_compile_options(-Wno-error=cast-function-type) + add_compile_options(-Wno-error=cast-function-type -Wno-error=type-limits) endif () message(STATUS "Using: