From 4aee8c670969f728b4ae38206ed7431bb9fb8083 Mon Sep 17 00:00:00 2001 From: Zephyron Date: Mon, 16 Jun 2025 17:22:29 +1000 Subject: [PATCH] video_core: Suppress MSVC warnings for VulkanMemoryAllocator - Add citron copyright header - Disable compiler warnings for vulkan_common/vma.cpp on MSVC builds to prevent third-party VMA library warnings from cluttering build output Signed-off-by: Zephyron --- src/video_core/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/video_core/CMakeLists.txt b/src/video_core/CMakeLists.txt index bcf9cfee0..49a24f5ad 100644 --- a/src/video_core/CMakeLists.txt +++ b/src/video_core/CMakeLists.txt @@ -1,4 +1,5 @@ # SPDX-FileCopyrightText: 2018 yuzu Emulator Project +# SPDX-FileCopyrightText: 2025 citron Emulator Project # SPDX-License-Identifier: GPL-2.0-or-later add_subdirectory(host_shaders) @@ -348,6 +349,9 @@ if (MSVC) /we4242 # 'identifier': conversion from 'type1' to 'type2', possible loss of data /we4244 # 'conversion': conversion from 'type1' to 'type2', possible loss of data ) + + # VMA - Disable warnings for VulkanMemoryAllocator source file + set_source_files_properties(vulkan_common/vma.cpp PROPERTIES COMPILE_OPTIONS "/w") else() if (APPLE) # error: declaration shadows a typedef in 'interval_base_set'