Skip to content

Commit a02fba9

Browse files
committed
build: MinGW lacks d3d12
1 parent d09ce9d commit a02fba9

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
@@ -173,6 +173,8 @@ endfunction()
173173

174174
if(WIN32)
175175
add_definitions(-DXR_USE_GRAPHICS_API_D3D11)
176+
endif()
177+
if(MSVC)
176178
add_definitions(-DXR_USE_GRAPHICS_API_D3D12)
177179
endif()
178180

0 commit comments

Comments
 (0)