build: Add Qt6 Svg module to CMake build
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
This commit is contained in:
@@ -8,7 +8,7 @@ set(CMAKE_AUTOMOC ON)
|
||||
set(CMAKE_AUTORCC ON)
|
||||
set(CMAKE_AUTOUIC ON)
|
||||
|
||||
find_package(Qt6 COMPONENTS Widgets OpenGLWidgets REQUIRED)
|
||||
find_package(Qt6 COMPONENTS Widgets OpenGLWidgets Svg REQUIRED)
|
||||
find_package(TBB REQUIRED)
|
||||
|
||||
find_package(OpenCASCADE REQUIRED
|
||||
@@ -47,6 +47,7 @@ target_include_directories(OpenCAD PRIVATE ${OpenCASCADE_INCLUDE_DIRS})
|
||||
target_link_libraries(OpenCAD PRIVATE
|
||||
Qt6::Widgets
|
||||
Qt6::OpenGLWidgets
|
||||
Qt6::Svg
|
||||
${OpenCASCADE_FoundationClasses_LIBRARIES}
|
||||
${OpenCASCADE_ModelingData_LIBRARIES}
|
||||
${OpenCASCADE_ModelingAlgorithms_LIBRARIES}
|
||||
|
||||
Reference in New Issue
Block a user