Browse Source

dxexp: add explicit dependency on D3D12 (#3710)

Helena Kotas 4 năm trước cách đây
mục cha
commit
88ddd4c978
1 tập tin đã thay đổi với 8 bổ sung1 xóa
  1. 8 1
      tools/dxexp/CMakeLists.txt

+ 8 - 1
tools/dxexp/CMakeLists.txt

@@ -2,4 +2,11 @@
 # This file is distributed under the University of Illinois Open Source License. See LICENSE.TXT for details.
 add_llvm_tool(dxexp
   dxexp.cpp
-  )
+)
+
+find_package(D3D12 REQUIRED)
+
+target_link_libraries(dxexp
+  ${D3D12_LIBRARIES}
+  dxguid.lib
+)