mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 01:20:42 +00:00
Silence warning
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user