summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineD3D11
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-12-17 16:44:59 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-12-17 16:44:59 +0000
commit98fb9172eb01179eba857e950633b502f2c87d7e (patch)
tree73561471386791afdf7a6f6750601697a05ed21b /Graphics/GraphicsEngineD3D11
parentFixed cmake install commands (diff)
downloadDiligentCore-98fb9172eb01179eba857e950633b502f2c87d7e.tar.gz
DiligentCore-98fb9172eb01179eba857e950633b502f2c87d7e.zip
Made engine core installation optional that is on by default on Win32 and Linux only
Diffstat (limited to 'Graphics/GraphicsEngineD3D11')
-rw-r--r--Graphics/GraphicsEngineD3D11/CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
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