From 908e4d77ad9bcabe08fb0c446fe9a2dda3394fb8 Mon Sep 17 00:00:00 2001 From: Julien Wadel Date: Tue, 29 Apr 2025 17:14:06 +0200 Subject: [PATCH] Workaround on ISpell build error for gcc15 --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7eeebe714..312df041d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -238,6 +238,7 @@ if(NOT APPLE OR MONO_ARCH) endif() if(NOT APPLE AND NOT WIN32) function(add_linphone_ispell) + SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-error=incompatible-pointer-types") #Workaround for gcc15 add_subdirectory("external/ispell") endfunction() add_linphone_ispell()