Skip to content

Commit

Permalink
Always require QtGui
Browse files Browse the repository at this point in the history
The server now depends on Gui for map image support. Gui was already
required in complete builds because all other components use it through
Widgets. Make sure it is also required in server-only builds.
  • Loading branch information
lmoureaux committed Sep 9, 2024
1 parent 25b51f8 commit 70d5da1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/FreecivDependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ check_function_exists(at_quick_exit HAVE_AT_QUICK_EXIT)
find_package(Python3 REQUIRED)

# Required as the main networking and utility library
find_package(Qt5 5.15 COMPONENTS Core Network REQUIRED)
find_package(Qt5 5.15 COMPONENTS Core Gui Network REQUIRED)

# Required for utility
if(FREECIV_ENABLE_SERVER)
Expand Down

0 comments on commit 70d5da1

Please sign in to comment.