qt5base-lts/tests/auto/testlib/CMakeLists.txt
Tatiana Borisova e76d27d3ed Exclude tst_selftests when feature process is disabled
- It should not be built for systems without process feature.

Task-number: QTBUG-99123
Pick-to: 6.2 6.3
Change-Id: I71caa59c2168435894c7d1afcc8226e44178439f
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2022-01-27 21:35:58 +02:00

13 lines
367 B
CMake

# Generated from testlib.pro.
# add_subdirectory(initmain) # special case missing project
# add_subdirectory(outformat) # special case missing project
add_subdirectory(qsignalspy)
# QTBUG-88507 # special case
if(QT_FEATURE_process AND NOT ANDROID)
add_subdirectory(selftests)
endif()
if(TARGET Qt::Widgets)
add_subdirectory(qabstractitemmodeltester)
endif()