File: OgreGLSupport_2.patch

package info (click to toggle)
ogre-1.12 1.12.10%2Bdfsg2-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 38,248 kB
  • sloc: cpp: 296,806; ansic: 46,900; lex: 3,682; yacc: 1,589; python: 1,297; makefile: 76; sh: 5
file content (22 lines) | stat: -rw-r--r-- 839 bytes parent folder | download | duplicates (4)
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()