void-packages/srcpkgs/qt6-webengine/patches/0900-cross-build-examples.p...

17 lines
505 B
Diff

--- qt6-webengine-6.4.2.orig/examples/CMakeLists.txt
+++ qt6-webengine-6.4.2/examples/CMakeLists.txt
@@ -1,7 +1,6 @@
cmake_minimum_required(VERSION 3.16)
qt_examples_build_begin(EXTERNAL_BUILD)
-if(NOT CMAKE_CROSSCOMPILING) #QTBUG-86533
if(TARGET Qt::WebEngineCore)
add_subdirectory(webenginequick)
endif()
@@ -14,5 +13,4 @@ if(NOT CMAKE_CROSSCOMPILING) #QTBUG-8653
if(TARGET Qt::PdfWidgets)
add_subdirectory(pdfwidgets)
endif()
-endif()
qt_examples_build_end()