summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsTools
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-11-13 05:10:07 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-11-13 05:10:07 +0000
commitc88095c014bcecf01bb1fa28f35f0e3f99b7d989 (patch)
treece2ca7e2b87ceeb8fba9031726c00b3b951685dd /Graphics/GraphicsTools
parentHLSL->GLSL converter: added 'readonly' when converting HLSL structured buffer... (diff)
downloadDiligentCore-c88095c014bcecf01bb1fa28f35f0e3f99b7d989.tar.gz
DiligentCore-c88095c014bcecf01bb1fa28f35f0e3f99b7d989.zip
Fixed dependencies of GraphicsTools project
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})