--- a/duckstation/CMakeModules/DuckStationDependencies.cmake +++ b/duckstation/CMakeModules/DuckStationDependencies.cmake @@ -86,18 +86,18 @@ # All our builds include Qt, so this is not a problem. set(QT_NO_PRIVATE_MODULE_WARNING ON) if(LINUX) - find_package(Qt6 6.12.0 REQUIRED - NO_DEFAULT_PATH PATHS "${DEPS_PATH}/lib/cmake/Qt6" + find_package(Qt6 6.11.2 REQUIRED + PATHS "/usr/lib64/cmake/Qt6" COMPONENTS Core Gui GuiPrivate Widgets LinguistTools DBus) else() - find_package(Qt6 6.12.0 REQUIRED + find_package(Qt6 6.11.2 REQUIRED NO_DEFAULT_PATH PATHS "${DEPS_PATH}/lib/cmake/Qt6" COMPONENTS Core Gui GuiPrivate Widgets LinguistTools) endif() # Verify dependency paths. foreach(dep zstd WebP PNG libjpeg-turbo freetype harfbuzz SQLite3plutosvg cpuinfo - DiscordRPC SoundTouch libzip Shaderc spirv_cross_c_shared SDL3 Qt6) + DiscordRPC SoundTouch libzip Shaderc spirv_cross_c_shared SDL3) if((${dep}_LIBRARY AND NOT "${${dep}_LIBRARY}" MATCHES "^${DEPS_PATH}") OR (${dep}_DIR AND NOT "${${dep}_DIR}" MATCHES "^${DEPS_PATH}")) message(FATAL_ERROR "Using incorrect ${dep} library. Check your dependencies.")