Skip to content

Commit 7b7ba4a

Browse files
committed
build: MinGW lacks d3d12
1 parent 0d26e4d commit 7b7ba4a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,8 @@ endfunction()
176176

177177
if(WIN32)
178178
add_definitions(-DXR_USE_GRAPHICS_API_D3D11)
179+
endif()
180+
if(MSVC)
179181
add_definitions(-DXR_USE_GRAPHICS_API_D3D12)
180182
endif()
181183

0 commit comments

Comments
 (0)