mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-10-12 02:08:45 +00:00
11 lines
371 B
CMake
11 lines
371 B
CMake
add_library(D3D12MemAlloc
|
|
include/D3D12MemAlloc.h
|
|
src/D3D12MemAlloc.cpp
|
|
)
|
|
|
|
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)
|