diff --git a/CMakeLists.txt b/CMakeLists.txt index b34a1ef..b5d976f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13) project(pkmnLib) # Enable all warnings, and make them error when occurring. -add_compile_options(-Wall -Wextra -Werror) +add_compile_options(-Wall -Wextra -Werror -Wno-error=cast-function-type) # We like new stuff, so set the c++ standard to c++20. set(CMAKE_CXX_STANDARD 20)