From c88095c014bcecf01bb1fa28f35f0e3f99b7d989 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Tue, 12 Nov 2019 21:10:07 -0800 Subject: Fixed dependencies of GraphicsTools project --- Graphics/GraphicsTools/CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Graphics/GraphicsTools') diff --git a/Graphics/GraphicsTools/CMakeLists.txt b/Graphics/GraphicsTools/CMakeLists.txt index 900afa15..cf6d74ce 100644 --- a/Graphics/GraphicsTools/CMakeLists.txt +++ b/Graphics/GraphicsTools/CMakeLists.txt @@ -58,6 +58,13 @@ PUBLIC Diligent-GraphicsEngineInterface ) +if(D3D11_SUPPORTED OR D3D12_SUPPORTED) + target_link_libraries(Diligent-GraphicsTools + PRIVATE + Diligent-GraphicsEngineD3DBase + ) +endif() + set_common_target_properties(Diligent-GraphicsTools) source_group("src" FILES ${SOURCE}) -- cgit v1.2.3