From 583f9aaa852ffb3a32fa76ebe12badc8beefa775 Mon Sep 17 00:00:00 2001 From: Thiago Sueto Date: Mon, 13 Nov 2023 11:17:59 -0300 Subject: [PATCH] Don't build portaldialog5 for now, requires Qt5 install for CI --- CMakeLists.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 668fb7c..a90eb53 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,13 @@ cmake_minimum_required(VERSION 3.25) project(minimal-qml6-examples) add_subdirectory(qml5-contextproperty) -add_subdirectory(qml5-portaldialog) + +option(BUILD_QML5PORTAL OFF) +if(BUILD_QML5PORTAL) + add_subdirectory(qml5-portaldialog) +endif() + + add_subdirectory(qml5-singletoninstance) add_subdirectory(qml5-singletontype)