Skip to content

Commit

Permalink
Ensure Qt modpack installer if we ask for Client
Browse files Browse the repository at this point in the history
  • Loading branch information
jwrober authored and lmoureaux committed Jan 21, 2024
1 parent c8d3248 commit 9f9627a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions cmake/FreecivBuildOptions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,14 @@ if (FREECIV_ENABLE_SERVER
set(FREECIV_BUILD_LIBSERVER TRUE)
endif()

# If we ask for the client, we have to have the Qt modpack installer from tools
if (FREECIV_ENABLE_CLIENT)
cmake_dependent_option(
FREECIV_ENABLE_FCMP_QT
"Build the modpack installer (Qt interface)"
ON FREECIV_ENABLE_TOOLS OFF)
endif()

# By default we do not enable VCPKG
option(FREECIV_USE_VCPKG "Use VCPKG" OFF)

Expand Down

0 comments on commit 9f9627a

Please sign in to comment.