QtTest: [skip ci] enable Qt testing framework
This commit is contained in:
@@ -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})
|
||||
|
||||
Reference in New Issue
Block a user