diff options
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index be31b7d..cd6f530 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,6 +9,12 @@ project(QtQuickDesignerComponents set(CMAKE_AUTOMOC ON) +# Enable reconfiguration of already installed version via +# pretend we are inside a qtdeclarative build. +# this activates an early bail out (already existing hack) +# This needs to be called before any find(Qt* is called. +set(QT_REPO_DEPENDENCIES "qtdeclarative") + find_package(Qt6 CONFIG REQUIRED |