Silence warning

This commit is contained in:
baldurk
2025-12-08 13:36:41 +00:00
parent 2b22a0877a
commit 83b1638174
+7
View File
@@ -19,6 +19,13 @@ if(NOT ANDROID AND NOT APPLE)
endif()
endif()
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 18.9)
set_property(SOURCE ${sources} ${sources_gl} ${sources_vulkan}
APPEND_STRING PROPERTY COMPILE_FLAGS " -Wno-cast-function-type-mismatch")
endif()
endif()
set(include_dirs
${RDOC_INCLUDES}
"${CMAKE_CURRENT_SOURCE_DIR}/official/PerfSDK/redist/include"