diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-12-17 16:44:59 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-12-17 16:44:59 +0000 |
| commit | 98fb9172eb01179eba857e950633b502f2c87d7e (patch) | |
| tree | 73561471386791afdf7a6f6750601697a05ed21b /Graphics/GraphicsEngineD3D11 | |
| parent | Fixed cmake install commands (diff) | |
| download | DiligentCore-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.txt | 6 |
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 |
