Workaround on ISpell build error for gcc15

This commit is contained in:
Julien Wadel 2025-04-29 17:14:06 +02:00
parent 6a9f689125
commit 908e4d77ad

View file

@ -238,6 +238,7 @@ if(NOT APPLE OR MONO_ARCH)
endif() endif()
if(NOT APPLE AND NOT WIN32) if(NOT APPLE AND NOT WIN32)
function(add_linphone_ispell) function(add_linphone_ispell)
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-error=incompatible-pointer-types") #Workaround for gcc15
add_subdirectory("external/ispell") add_subdirectory("external/ispell")
endfunction() endfunction()
add_linphone_ispell() add_linphone_ispell()