summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsTools
diff options
context:
space:
mode:
Diffstat (limited to 'Graphics/GraphicsTools')
-rw-r--r--Graphics/GraphicsTools/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
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})