From 98fb9172eb01179eba857e950633b502f2c87d7e Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Mon, 17 Dec 2018 08:44:59 -0800 Subject: Made engine core installation optional that is on by default on Win32 and Linux only --- Graphics/GraphicsEngineD3D11/CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Graphics/GraphicsEngineD3D11') diff --git a/Graphics/GraphicsEngineD3D11/CMakeLists.txt b/Graphics/GraphicsEngineD3D11/CMakeLists.txt index 1524c28c..4532d5ab 100644 --- a/Graphics/GraphicsEngineD3D11/CMakeLists.txt +++ b/Graphics/GraphicsEngineD3D11/CMakeLists.txt @@ -143,5 +143,7 @@ set_source_files_properties( readme.md PROPERTIES HEADER_FILE_ONLY TRUE ) -install_core_lib(GraphicsEngineD3D11-shared) -install_core_lib(GraphicsEngineD3D11-static) +if(INSTALL_DILIGENT_CORE) + install_core_lib(GraphicsEngineD3D11-shared) + install_core_lib(GraphicsEngineD3D11-static) +endif() \ No newline at end of file -- cgit v1.2.3