summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2021-07-15 11:14:01 +0200
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2021-07-16 08:26:28 +0200
commita36d2b942bcbab6d8ca5afdcff21b291507f2932 (patch)
treed3c9684d5d3e33d4653d2f6338b94b349aa93d02
parentMerge pull request #6641 from Morph1984/web_browser_urls (diff)
downloadyuzu-a36d2b942bcbab6d8ca5afdcff21b291507f2932.tar
yuzu-a36d2b942bcbab6d8ca5afdcff21b291507f2932.tar.gz
yuzu-a36d2b942bcbab6d8ca5afdcff21b291507f2932.tar.bz2
yuzu-a36d2b942bcbab6d8ca5afdcff21b291507f2932.tar.lz
yuzu-a36d2b942bcbab6d8ca5afdcff21b291507f2932.tar.xz
yuzu-a36d2b942bcbab6d8ca5afdcff21b291507f2932.tar.zst
yuzu-a36d2b942bcbab6d8ca5afdcff21b291507f2932.zip
-rw-r--r--CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 716256cd5..bf6ba58ba 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -337,6 +337,8 @@ if(ENABLE_QT)
endif()
endif()
+ set(YUZU_QT_NO_CMAKE_SYSTEM_PATH)
+
# Workaround for an issue where conan tries to build Qt from scratch instead of download prebuilt binaries
set(QT_PREFIX_HINT)
@@ -354,8 +356,10 @@ if(ENABLE_QT)
endif()
set(QT_PREFIX_HINT HINTS "${QT_PREFIX}")
+
+ set(YUZU_QT_NO_CMAKE_SYSTEM_PATH "NO_CMAKE_SYSTEM_PATH")
endif()
- find_package(Qt5 ${QT_VERSION} REQUIRED COMPONENTS Widgets ${QT_PREFIX_HINT} NO_CMAKE_SYSTEM_PATH)
+ find_package(Qt5 ${QT_VERSION} REQUIRED COMPONENTS Widgets ${QT_PREFIX_HINT} ${YUZU_QT_NO_CMAKE_SYSTEM_PATH})
if (YUZU_USE_QT_WEB_ENGINE)
find_package(Qt5 COMPONENTS WebEngineCore WebEngineWidgets)
endif()