QtTest: [skip ci] enable Qt testing framework

This commit is contained in:
wmayer
2022-12-01 13:57:00 +01:00
parent 5a5394516e
commit 4e8ecc41b6
4 changed files with 98 additions and 1 deletions

View File

@@ -19,6 +19,9 @@ if(BUILD_GUI)
list (APPEND FREECAD_QT_COMPONENTS Designer)
endif()
endif()
if (BUILD_TEST)
list (APPEND FREECAD_QT_COMPONENTS Test)
endif ()
foreach(COMPONENT IN LISTS FREECAD_QT_COMPONENTS)
find_package(Qt${FREECAD_QT_MAJOR_VERSION} REQUIRED COMPONENTS ${COMPONENT})