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/GraphicsEngineD3D12/CMakeLists.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Graphics/GraphicsEngineD3D12') 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} -- cgit v1.2.3