CMakeLists.txt: Suppress the unqualified std cast call warning on clang 15 and higher
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
This commit is contained in:
parent
7dadd216a7
commit
617837fb91
|
@ -99,6 +99,7 @@ elseif(${IS_CLANG})
|
|||
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -fwhole-program-vtables")
|
||||
endif()
|
||||
endif()
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unknown-warning-option -Wno-unqualified-std-cast-call")
|
||||
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -fstrict-vtable-pointers")
|
||||
elseif(MSVC)
|
||||
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS ${MINIMAL_MSVC} AND NOT ${IGNORE_MINIMAL_COMPILER_VERSION})
|
||||
|
|
Loading…
Reference in New Issue