summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineD3D11
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/GraphicsEngineD3D11
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/GraphicsEngineD3D11')
-rw-r--r--Graphics/GraphicsEngineD3D11/CMakeLists.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngineD3D11/CMakeLists.txt b/Graphics/GraphicsEngineD3D11/CMakeLists.txt
index 4532d5ab..b263d602 100644
--- a/Graphics/GraphicsEngineD3D11/CMakeLists.txt
+++ b/Graphics/GraphicsEngineD3D11/CMakeLists.txt
@@ -119,7 +119,13 @@ PUBLIC
GraphicsEngineD3D11Interface
)
-target_link_libraries(GraphicsEngineD3D11-shared PUBLIC GraphicsEngineD3D11-static)
+target_link_libraries(GraphicsEngineD3D11-shared
+PRIVATE
+ BuildSettings
+ GraphicsEngineD3D11-static
+PUBLIC
+ GraphicsEngineD3D11Interface
+)
target_compile_definitions(GraphicsEngineD3D11-shared PUBLIC ENGINE_DLL=1)
source_group("src" FILES ${SRC} )