CMake: Suppress warning about Qt 6 not being found

This commit is contained in:
Tony Wasserka committed 2024-09-03 16:48:22 +02:00
1 parent 099211f39c
commit fc76d4e8c3
1 file changed
+1 -1
+1 -1
View File
@@ -4,7 +4,7 @@ if (NOT MINGW_BUILD)
if (USE_FEXCONFIG_TOOLKIT STREQUAL "imgui")
add_subdirectory(FEXConfig/)
elseif (USE_FEXCONFIG_TOOLKIT STREQUAL "qt")
find_package(Qt6 COMPONENTS Qml Quick Widgets)
find_package(Qt6 COMPONENTS Qml Quick Widgets QUIET)
if (NOT Qt6_FOUND)
find_package(Qt5 COMPONENTS Qml Quick Widgets REQUIRED)
endif()