summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineOpenGL
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/GraphicsEngineOpenGL
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/GraphicsEngineOpenGL')
-rw-r--r--Graphics/GraphicsEngineOpenGL/CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/Graphics/GraphicsEngineOpenGL/CMakeLists.txt b/Graphics/GraphicsEngineOpenGL/CMakeLists.txt
index 8754515f..751db277 100644
--- a/Graphics/GraphicsEngineOpenGL/CMakeLists.txt
+++ b/Graphics/GraphicsEngineOpenGL/CMakeLists.txt
@@ -237,5 +237,7 @@ set_source_files_properties(
readme.md PROPERTIES HEADER_FILE_ONLY TRUE
)
-install_core_lib(GraphicsEngineOpenGL-shared)
-install_core_lib(GraphicsEngineOpenGL-static)
+if(INSTALL_DILIGENT_CORE)
+ install_core_lib(GraphicsEngineOpenGL-shared)
+ install_core_lib(GraphicsEngineOpenGL-static)
+endif() \ No newline at end of file