3rdparty: Configure D3D12MemAlloc to use DirectX-Headers under CMake

This commit is contained in:
TheLastRar
2026-07-27 16:55:22 +02:00
committed by GovanifY
parent 3468ae1eff
commit cb9841ac3f
+1
View File
@@ -6,4 +6,5 @@ add_library(D3D12MemAlloc
target_link_libraries(D3D12MemAlloc PRIVATE Microsoft::DirectX-Headers)
target_include_directories(D3D12MemAlloc PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include")
target_compile_definitions(D3D12MemAlloc PRIVATE "D3D12MA_USING_DIRECTX_HEADERS")
disable_compiler_warnings_for_target(D3D12MemAlloc)