🎉 Added OGRE
This commit is contained in:
11
ogre/all/patches/1.11.6.1/CMakeLists.txt.patch
Normal file
11
ogre/all/patches/1.11.6.1/CMakeLists.txt.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- CMakeLists.txt
|
||||
+++ CMakeLists.txt
|
||||
@@ -16,6 +16,8 @@
|
||||
|
||||
cmake_minimum_required(VERSION 3.3.0)
|
||||
|
||||
+include(${CMAKE_BINARY_DIR}/conan_paths.cmake)
|
||||
+
|
||||
set(CMAKE_CXX_STANDARD 11)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
set(CMAKE_CXX_EXTENSIONS OFF)
|
11
ogre/all/patches/1.11.6.1/Dependencies.cmake.patch
Normal file
11
ogre/all/patches/1.11.6.1/Dependencies.cmake.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- CMake/Dependencies.cmake
|
||||
+++ CMake/Dependencies.cmake
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
# OGRE_DEPENDENCIES_DIR can be used to specify a single base
|
||||
# folder where the required dependencies may be found.
|
||||
-set(OGRE_DEPENDENCIES_DIR "" CACHE PATH "Path to prebuilt OGRE dependencies")
|
||||
+set(OGRE_DEPENDENCIES_DIR ${CMAKE_PREFIX_PATH})
|
||||
option(OGRE_BUILD_DEPENDENCIES "automatically build Ogre Dependencies (freetype, zzip)" TRUE)
|
||||
|
||||
include(FindPkgMacros)
|
Reference in New Issue
Block a user