Explorar el Código

dxexp: add explicit dependency on D3D12 (#3710)

Helena Kotas hace 4 años
padre
commit
88ddd4c978
Se han modificado 1 ficheros con 8 adiciones y 1 borrados
  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
+)