cmake: [skip ci] build with Qt6 requires the module QtSvgWidgets
This commit is contained in:
@@ -7,6 +7,7 @@ endif()
|
||||
if(BUILD_GUI)
|
||||
if (FREECAD_QT_MAJOR_VERSION EQUAL 6)
|
||||
list (APPEND FREECAD_QT_COMPONENTS GuiTools)
|
||||
list (APPEND FREECAD_QT_COMPONENTS SvgWidgets)
|
||||
endif()
|
||||
list (APPEND FREECAD_QT_COMPONENTS OpenGL PrintSupport Svg UiTools Widgets)
|
||||
if (BUILD_WEB)
|
||||
@@ -52,4 +53,4 @@ if (Qt${FREECAD_QT_MAJOR_VERSION}Core_VERSION VERSION_LESS 5.15.0)
|
||||
qt5_wrap_cpp("${outfiles}" ${ARGN})
|
||||
set("${outfiles}" "${${outfiles}}" PARENT_SCOPE)
|
||||
endfunction()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user