summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2021-07-15 11:25:00 +0200
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2021-07-16 08:26:34 +0200
commit4c6cc675201c1a17d674b7910233a1d8eb474077 (patch)
tree62f7d98734ffdb921cbc4dbf7c18f350725ecdf1
parentcmake: Only use NO_CMAKE_SYSTEM_PATH when needed for Qt (diff)
downloadyuzu-4c6cc675201c1a17d674b7910233a1d8eb474077.tar
yuzu-4c6cc675201c1a17d674b7910233a1d8eb474077.tar.gz
yuzu-4c6cc675201c1a17d674b7910233a1d8eb474077.tar.bz2
yuzu-4c6cc675201c1a17d674b7910233a1d8eb474077.tar.lz
yuzu-4c6cc675201c1a17d674b7910233a1d8eb474077.tar.xz
yuzu-4c6cc675201c1a17d674b7910233a1d8eb474077.tar.zst
yuzu-4c6cc675201c1a17d674b7910233a1d8eb474077.zip
Diffstat (limited to '')
-rw-r--r--CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index bf6ba58ba..de93ca2c2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -254,7 +254,9 @@ if(ENABLE_QT)
# Check for system Qt on Linux, fallback to bundled Qt
if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
- find_package(Qt5 ${QT_VERSION} COMPONENTS Widgets)
+ if (NOT YUZU_USE_BUNDLED_QT)
+ find_package(Qt5 ${QT_VERSION} COMPONENTS Widgets)
+ endif()
if (NOT Qt5_FOUND OR YUZU_USE_BUNDLED_QT)
# Check for dependencies, then enable bundled Qt download