Skip to content

Commit f27fab6

Browse files
committed
build: MinGW lacks d3d12
1 parent 69ef758 commit f27fab6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,8 @@ endif()
143143

144144
if(WIN32)
145145
add_definitions(-DXR_USE_GRAPHICS_API_D3D11)
146+
endif()
147+
if(MSVC)
146148
add_definitions(-DXR_USE_GRAPHICS_API_D3D12)
147149
endif()
148150

0 commit comments

Comments
 (0)