We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 31b43db + 68693ab commit 55902daCopy full SHA for 55902da
src/CMakeLists.txt
@@ -171,7 +171,7 @@ if(D3D12MA_AGILITY_SDK_DIRECTORY)
171
if(D3D12MA_AGILITY_SDK_PREVIEW)
172
target_compile_definitions(D3D12MemoryAllocator PRIVATE D3D12MA_USE_AGILITY_SDK_PREVIEW=1)
173
endif()
174
- if(${D3D12MA_BUILD_SAMPLE} AND ${WIN32})
+ if(D3D12MA_BUILD_SAMPLE AND WIN32)
175
target_compile_definitions(D3D12Sample PRIVATE D3D12MA_USE_AGILITY_SDK=1)
176
target_include_directories(D3D12Sample BEFORE PRIVATE "${D3D12MA_AGILITY_SDK_DIRECTORY}/build/native/include")
177
0 commit comments