From 05d3fe3118549e9d3230a283afcf0c744c23d88a Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Mon, 21 Jan 2019 11:00:34 -0800 Subject: Fixed shared libaries on linux/mac/iOS --- Graphics/GraphicsEngineD3D11/CMakeLists.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Graphics/GraphicsEngineD3D11') 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} ) -- cgit v1.2.3