Remove error cast function type warning.
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Deukhoofd 2020-07-18 13:41:51 +02:00
parent 3235a99ff6
commit f629c5fb81
Signed by: Deukhoofd
GPG Key ID: ADF2E9256009EDCE
1 changed files with 1 additions and 1 deletions

View File

@ -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)