summaryrefslogtreecommitdiffstats
path: root/examples/CMakeLists.txt
blob: ccad90e11daba7861a9b70ed202c9b3a61db0b34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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()
    if(TARGET Qt::WebEngineWidgets)
        add_subdirectory(webenginewidgets)
    endif()
    if(TARGET Qt::Pdf)
        add_subdirectory(pdf)
    endif()
    if(TARGET Qt::PdfWidgets)
        add_subdirectory(pdfwidgets)
    endif()
endif()
qt_examples_build_end()