[ogre] Temporary disable dependency qt (#14226)

This commit is contained in:
Jack·Boos·Yu 2020-10-25 22:08:56 -07:00 committed by GitHub
parent ba7fd714f2
commit ac2ddd5f05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 1 deletions

View File

@ -0,0 +1,14 @@
diff --git a/CMake/Dependencies.cmake b/CMake/Dependencies.cmake
index 068dd27..721121b 100644
--- a/CMake/Dependencies.cmake
+++ b/CMake/Dependencies.cmake
@@ -346,7 +346,9 @@ if(NOT ANDROID AND NOT EMSCRIPTEN)
)
endif()
+ if (0)
find_package(Qt5 COMPONENTS Core Gui QUIET)
+ endif()
macro_log_feature(Qt5_FOUND "Qt" "optional integration with the Qt Library for window creation and input" "http://www.qt.io/" FALSE "" "")
endif()

View File

@ -16,6 +16,7 @@ vcpkg_from_github(
toolchain_fixes.patch
fix-dependency.patch
fix-findimgui.patch
disable-dependency-qt.patch
)
file(REMOVE "${SOURCE_PATH}/CMake/Packages/FindOpenEXR.cmake")

View File

@ -1,7 +1,7 @@
{
"name": "ogre",
"version-string": "1.12.9",
"port-version": 1,
"port-version": 2,
"description": "3D Object-Oriented Graphics Rendering Engine",
"homepage": "https://github.com/OGRECave/ogre",
"dependencies": [