From 88ddd4c978e4c2c3d63a43fd682a56eb428c6829 Mon Sep 17 00:00:00 2001 From: Helena Kotas Date: Mon, 26 Apr 2021 14:49:31 -0700 Subject: [PATCH] dxexp: add explicit dependency on D3D12 (#3710) --- tools/dxexp/CMakeLists.txt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tools/dxexp/CMakeLists.txt b/tools/dxexp/CMakeLists.txt index b91959213..28bbe585b 100644 --- a/tools/dxexp/CMakeLists.txt +++ b/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 +)