🐛 Fixed OGRE 13 build
This commit is contained in:
parent
6f66f4939c
commit
8be318a630
@ -10,6 +10,7 @@ patches:
|
|||||||
- patch_file: "patches/13.0.0/CMakeLists.txt.patch"
|
- patch_file: "patches/13.0.0/CMakeLists.txt.patch"
|
||||||
- patch_file: "patches/13.0.0/pugixml-fix.patch"
|
- patch_file: "patches/13.0.0/pugixml-fix.patch"
|
||||||
- patch_file: "patches/13.0.0/FindPkgMacros.cmake.patch"
|
- patch_file: "patches/13.0.0/FindPkgMacros.cmake.patch"
|
||||||
|
- patch_file: "patches/13.0.1/FixFindOpenGLES2.cmake.patch"
|
||||||
"13.0.1":
|
"13.0.1":
|
||||||
- patch_file: "patches/13.0.1/CMakeLists.txt.patch"
|
- patch_file: "patches/13.0.1/CMakeLists.txt.patch"
|
||||||
- patch_file: "patches/13.0.1/pugixml-fix.patch"
|
- patch_file: "patches/13.0.1/pugixml-fix.patch"
|
||||||
|
@ -30,6 +30,8 @@ class OGREConan(ConanFile):
|
|||||||
def build(self):
|
def build(self):
|
||||||
cmake = CMake(self)
|
cmake = CMake(self)
|
||||||
cmake.definitions["OGRE_BUILD_DEPENDENCIES"] = "OFF"
|
cmake.definitions["OGRE_BUILD_DEPENDENCIES"] = "OFF"
|
||||||
|
cmake.definitions["OGRE_COPY_DEPENDENCIES"] = "OFF"
|
||||||
|
cmake.definitions["OGRE_INSTALL_DEPENDENCIES"] = "OFF"
|
||||||
cmake.definitions["OGRE_BUILD_COMPONENT_OVERLAY_IMGUI"] = "ON"
|
cmake.definitions["OGRE_BUILD_COMPONENT_OVERLAY_IMGUI"] = "ON"
|
||||||
cmake.definitions["OGRE_BUILD_COMPONENT_CSHARP"] = "OFF"
|
cmake.definitions["OGRE_BUILD_COMPONENT_CSHARP"] = "OFF"
|
||||||
cmake.definitions["OGRE_BUILD_COMPONENT_JAVA"] = "OFF"
|
cmake.definitions["OGRE_BUILD_COMPONENT_JAVA"] = "OFF"
|
||||||
|
11
ogre/13/patches/13.0.0/FixFindOpenGLES2.cmake.patch
Normal file
11
ogre/13/patches/13.0.0/FixFindOpenGLES2.cmake.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- CMake/Packages/FindOpenGLES2.cmake
|
||||||
|
+++ CMake/Packages/FindOpenGLES2.cmake
|
||||||
|
@@ -23,6 +23,8 @@
|
||||||
|
# EGL_INCLUDE_DIR - the EGL include directory
|
||||||
|
# EGL_LIBRARIES - Link these to use EGL
|
||||||
|
|
||||||
|
+include(FindPkgMacros)
|
||||||
|
+
|
||||||
|
IF(APPLE)
|
||||||
|
create_search_paths(/Developer/Platforms)
|
||||||
|
findpkg_framework(OpenGLES2)
|
Loading…
x
Reference in New Issue
Block a user