Skip to content

Commit

Permalink
Fix clang extension issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
RubyNova committed Jul 2, 2023
1 parent af947c8 commit 648ec5d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/NovelRT.Interop/Graphics/NrtGraphicsProvider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include "../LifetimeExtender.h"
#include <NovelRT.Interop/Graphics/NrtGraphicsProvider.h>
#include <NovelRT.Interop/NrtErrorHandling.h>
#include <NovelRT/Graphics/Graphics.h>
#include <NovelRT/Graphics/Graphics.hpp>

using namespace NovelRT::Graphics;
using namespace NovelRT::Interop;
Expand Down
6 changes: 6 additions & 0 deletions thirdparty/VulkanMemoryAllocator/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,9 @@ set(CMAKE_POLICY_DEFAULT_CMP0077 NEW)
set(BUILD_SHARED_LIBS OFF)

FetchContent_MakeAvailable(VulkanMemoryAllocator)

target_compile_options(VulkanMemoryAllocator
PUBLIC
$<$<CXX_COMPILER_ID:Clang>:-Wno-nullability-extension>
$<$<CXX_COMPILER_ID:AppleClang>:-Wno-nullability-extension>
)

0 comments on commit 648ec5d

Please sign in to comment.