summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineOpenGL
diff options
context:
space:
mode:
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