From e76c83a879f4a2efa40ee5e65acebefc8f9b4cb1 Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Thu, 1 Aug 2019 19:36:03 +0200 Subject: Regenerate some of the test projects that do SUBDIRS += foo This show cases the new cleaner subdirs handling code in pro2cmake. Change-Id: I25001942ef020e4c4191b355f55309c4fb033ecc Reviewed-by: Qt CMake Build Bot Reviewed-by: Simon Hausmann --- tests/auto/testlib/CMakeLists.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'tests/auto/testlib/CMakeLists.txt') diff --git a/tests/auto/testlib/CMakeLists.txt b/tests/auto/testlib/CMakeLists.txt index a87e2203f9..fe80927327 100644 --- a/tests/auto/testlib/CMakeLists.txt +++ b/tests/auto/testlib/CMakeLists.txt @@ -1,4 +1,8 @@ -add_subdirectory(qabstractitemmodeltester) +# Generated from testlib.pro. + +# add_subdirectory(outformat) # special case missing project add_subdirectory(qsignalspy) add_subdirectory(selftests) - +if(TARGET Qt::Widgets) + add_subdirectory(qabstractitemmodeltester) +endif() -- cgit v1.2.3