From fd814f4cff4feb1174f9312c4b84f523d5ca559f Mon Sep 17 00:00:00 2001 From: crueter Date: Mon, 1 Jun 2026 14:10:59 -0400 Subject: [PATCH] [cmake] Disable `no-cast-function-type-mismatch` on Clang 19 Signed-off-by: crueter --- src/core/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index 2a42090ddc..5548957c90 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -1200,7 +1200,7 @@ else() $<$:-Wno-cast-function-type> $<$:-fsized-deallocation>) # pre-clang19 will spam with "OH DID YOU MEAN THIS?" otherwise... - if (CXX_CLANG AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 19) + if (CXX_CLANG AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 19) target_compile_options(core PRIVATE $<$:-Wno-cast-function-type-mismatch>) endif() endif()