fix issue with building with examples and playground disabled

This commit is contained in:
Aldo Nicolas Bruno 2024-05-26 22:48:17 +02:00
parent 319abafb0d
commit 7f2ee58a4c
1 changed files with 2 additions and 0 deletions

View File

@ -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