From 7f2ee58a4c6d59f3255a52dfb999af78892c222f Mon Sep 17 00:00:00 2001 From: Aldo Nicolas Bruno Date: Sun, 26 May 2024 22:48:17 +0200 Subject: [PATCH] fix issue with building with examples and playground disabled --- cmake/QskFindMacros.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake/QskFindMacros.cmake b/cmake/QskFindMacros.cmake index f2791254..1a3b6ef1 100644 --- a/cmake/QskFindMacros.cmake +++ b/cmake/QskFindMacros.cmake @@ -24,6 +24,8 @@ macro(qsk_setup_Qt) else() message(FATAL_ERROR "Couldn't find any Qt package !") endif() + + find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Quick) # Using find_package is probably no good idea as all other Qt modules should # be located below ${_qt_cmake_dir}. Otherwise we might end up with modules