diff --git a/CMakeModules/AppStreamHelper.cmake b/CMakeModules/AppStreamHelper.cmake index e23f2e4d4..9d32795cf 100644 --- a/CMakeModules/AppStreamHelper.cmake +++ b/CMakeModules/AppStreamHelper.cmake @@ -11,7 +11,7 @@ # variables (e.g. might be AppStreamQt6_FOUND). # -option(BUILD_APPSTREAM "Support appstream: items in PackageChooser (requires libappstream-qt)" ON) +option(BUILD_APPSTREAM "Support appstream: items in PackageChooser (requires libappstream-qt)" OFF) if(TARGET calaappstream) if(TARGET calamares::appstreamqt) diff --git a/src/modules/packagechooser/CMakeLists.txt b/src/modules/packagechooser/CMakeLists.txt index 5af6fc1c7..b878fef1c 100644 --- a/src/modules/packagechooser/CMakeLists.txt +++ b/src/modules/packagechooser/CMakeLists.txt @@ -10,9 +10,9 @@ set(_extra_src "") ### OPTIONAL AppData XML support in PackageModel # # -option(BUILD_APPDATA "Support appdata: items in PackageChooser (requires QtXml)" ON) +option(BUILD_APPDATA "Support appdata: items in PackageChooser (requires QtXml)" OFF) if(BUILD_APPDATA) - find_package(${qtname} COMPONENTS Xml) + find_package(${qtname} REQUIRED COMPONENTS Xml) if(TARGET ${qtname}::Xml) add_definitions(-DHAVE_APPDATA) list(APPEND _extra_libraries ${qtname}::Xml) diff --git a/src/modules/packagechooserq/CMakeLists.txt b/src/modules/packagechooserq/CMakeLists.txt index 3b194d69a..12c992b68 100644 --- a/src/modules/packagechooserq/CMakeLists.txt +++ b/src/modules/packagechooserq/CMakeLists.txt @@ -20,9 +20,9 @@ include_directories(${_packagechooser}) ### OPTIONAL AppData XML support in PackageModel # # -option(BUILD_APPDATA "Support appdata: items in PackageChooser (requires QtXml)" ON) +option(BUILD_APPDATA "Support appdata: items in PackageChooser (requires QtXml)" OFF) if(BUILD_APPDATA) - find_package(${qtname} COMPONENTS Xml) + find_package(${qtname} REQUIRED COMPONENTS Xml) if(TARGET ${qtname}::Xml) add_definitions(-DHAVE_APPDATA) list(APPEND _extra_libraries ${qtname}::Xml)