summaryrefslogtreecommitdiffstats
path: root/examples/pdf
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2021-12-14 18:22:23 +0100
committerAlexandru Croitor <alexandru.croitor@qt.io>2021-12-15 11:10:57 +0100
commit6f75de32c2a8b8ac81ef40489fa9f64ec0435087 (patch)
treeb5f5667a8557cb0e55a178f7f8e444476d3880ed /examples/pdf
parentcf9ecc2019f9800e33f2963770ccb1ea1bb20813 (diff)
Switch examples to build as isolated sub-builds
Pick-to: 6.2 6.3 Task-number: QTBUG-90820 Change-Id: I8539fee3ea7311acf9ee4e736fb19e6ff595fcae Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Diffstat (limited to 'examples/pdf')
-rw-r--r--examples/pdf/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/pdf/CMakeLists.txt b/examples/pdf/CMakeLists.txt
index cca6c03db..265d2ab8f 100644
--- a/examples/pdf/CMakeLists.txt
+++ b/examples/pdf/CMakeLists.txt
@@ -1,5 +1,5 @@
-add_subdirectory(pdfviewer)
-add_subdirectory(multipage)
+qt_internal_add_example(pdfviewer)
+qt_internal_add_example(multipage)
if(NOT TARGET Qt::Svg)
message(WARNING "QtSvg is required as runtime dependency for qtpdfquick examples.")
endif()