summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineD3D12
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-01-21 19:00:34 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-01-21 19:00:34 +0000
commit05d3fe3118549e9d3230a283afcf0c744c23d88a (patch)
tree3580a51a5a1d1e1f1815c5798a092e3a18470d49 /Graphics/GraphicsEngineD3D12
parentUpdated zip command in travis script (diff)
downloadDiligentCore-05d3fe3118549e9d3230a283afcf0c744c23d88a.tar.gz
DiligentCore-05d3fe3118549e9d3230a283afcf0c744c23d88a.zip
Fixed shared libaries on linux/mac/iOS
Diffstat (limited to 'Graphics/GraphicsEngineD3D12')
-rw-r--r--Graphics/GraphicsEngineD3D12/CMakeLists.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngineD3D12/CMakeLists.txt b/Graphics/GraphicsEngineD3D12/CMakeLists.txt
index 22059512..d9505bd0 100644
--- a/Graphics/GraphicsEngineD3D12/CMakeLists.txt
+++ b/Graphics/GraphicsEngineD3D12/CMakeLists.txt
@@ -144,7 +144,13 @@ PUBLIC
GraphicsEngineD3D12Interface
)
-target_link_libraries(GraphicsEngineD3D12-shared PUBLIC GraphicsEngineD3D12-static)
+target_link_libraries(GraphicsEngineD3D12-shared
+PRIVATE
+ BuildSettings
+ GraphicsEngineD3D12-static
+PUBLIC
+ GraphicsEngineD3D12Interface
+)
target_compile_definitions(GraphicsEngineD3D12-shared PUBLIC ENGINE_DLL=1)
# Set output name to GraphicsEngineD3D12_{32|64}{r|d}