Skip to content

Commit

Permalink
Require Svg in Qt finds for qged icon rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
starseeker committed Jul 12, 2023
1 parent 4356631 commit 54f8fb3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions misc/CMake/BRLCAD_User_Options.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -220,18 +220,18 @@ if (BRLCAD_ENABLE_QT)
# to <qt_install_dir>
if(Qt6_DIR)
if(BRLCAD_ENABLE_OPENGL)
find_package(Qt6 COMPONENTS Core Widgets Gui OpenGL OpenGLWidgets Network REQUIRED)
find_package(Qt6 COMPONENTS Core Widgets Gui Svg OpenGL OpenGLWidgets Network REQUIRED)
find_package(Qt6 COMPONENTS Test)
else()
find_package(Qt6 COMPONENTS Core Widgets Gui Network REQUIRED)
find_package(Qt6 COMPONENTS Core Widgets Gui Svg Network REQUIRED)
find_package(Qt6 COMPONENTS Test)
endif(BRLCAD_ENABLE_OPENGL)
else()
if(BRLCAD_ENABLE_OPENGL)
find_package(Qt6 COMPONENTS Core Widgets Gui OpenGL OpenGLWidgets Network QUIET)
find_package(Qt6 COMPONENTS Core Widgets Gui Svg OpenGL OpenGLWidgets Network QUIET)
find_package(Qt6 COMPONENTS Test)
else()
find_package(Qt6 COMPONENTS Core Widgets Gui Network QUIET)
find_package(Qt6 COMPONENTS Core Widgets Gui Svg Network QUIET)
find_package(Qt6 COMPONENTS Test)
endif(BRLCAD_ENABLE_OPENGL)
endif(Qt6_DIR)
Expand Down

0 comments on commit 54f8fb3

Please sign in to comment.