From db5ffaee35c97a5032c1ecc989d81fe6efb2e3a9 Mon Sep 17 00:00:00 2001 From: Arseniy Obolenskiy Date: Sun, 27 Jul 2025 13:30:34 +0200 Subject: [PATCH] Disable -Wno-cast-function-type on non APPLE platforms --- cmake/configure.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmake/configure.cmake b/cmake/configure.cmake index 3e2f66b34..0c8116666 100644 --- a/cmake/configure.cmake +++ b/cmake/configure.cmake @@ -51,7 +51,8 @@ if(UNIX) -Wnull-dereference -Wformat=2 -Wmissing-declarations - -Wno-c11-extensions) + -Wno-c11-extensions + -Wno-cast-function-type) endif(NOT APPLE) add_compile_options($<$:-Wold-style-definition>) add_compile_options($<$:-Wmissing-prototypes>)