summaryrefslogtreecommitdiffstats
path: root/examples/vulkan/hellovulkanwindow
diff options
context:
space:
mode:
Diffstat (limited to 'examples/vulkan/hellovulkanwindow')
-rw-r--r--examples/vulkan/hellovulkanwindow/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/vulkan/hellovulkanwindow/CMakeLists.txt b/examples/vulkan/hellovulkanwindow/CMakeLists.txt
index df2166a0be..0673f6de1b 100644
--- a/examples/vulkan/hellovulkanwindow/CMakeLists.txt
+++ b/examples/vulkan/hellovulkanwindow/CMakeLists.txt
@@ -15,8 +15,7 @@ endif()
set(INSTALL_EXAMPLEDIR "${INSTALL_EXAMPLESDIR}/vulkan/hellovulkanwindow")
-find_package(Qt6 COMPONENTS Core)
-find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 REQUIRED COMPONENTS Core Gui)
qt_add_executable(hellovulkanwindow
hellovulkanwindow.cpp hellovulkanwindow.h