1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
From 7624a5692348257b9d9345fc78184335456fc239 Mon Sep 17 00:00:00 2001
From: Pavel Rojtberg <rojtberg@gmail.com>
Date: Mon, 21 Dec 2020 18:48:16 +0100
Subject: [PATCH] CMake: OgreGLSupport must not be mentioned anywhere in the
exports
---
RenderSystems/GLSupport/CMakeLists.txt | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/RenderSystems/GLSupport/CMakeLists.txt b/RenderSystems/GLSupport/CMakeLists.txt
index 31c7507298..cded65592c 100644
--- a/RenderSystems/GLSupport/CMakeLists.txt
+++ b/RenderSystems/GLSupport/CMakeLists.txt
@@ -117,4 +117,6 @@ generate_export_header(OgreGLSupport
EXPORT_MACRO_NAME _OgreGLExport
EXPORT_FILE_NAME ${PROJECT_BINARY_DIR}/include/OgreGLSupportPrerequisites.h)
-ogre_config_component(OgreGLSupport)
+if(OGRE_STATIC)
+ ogre_config_lib(OgreGLSupport TRUE)
+endif()
|