Explicitly link to GObject (should fix #3840)

This commit is contained in:
Jyrki Vesterinen 2019-01-05 17:31:00 +02:00 committed by Severin Glöckner
parent e764257c3e
commit 406893963f
3 changed files with 3 additions and 0 deletions

View file

@ -564,6 +564,7 @@ if(ENABLE_GAME OR ENABLE_TESTS)
if(NOT MSVC)
find_package(VorbisFile REQUIRED)
find_package( PkgConfig REQUIRED )
pkg_check_modules( GOBJECT REQUIRED gobject-2.0 )
pkg_check_modules( PANGOCAIRO REQUIRED pangocairo>=1.21.3 )
pkg_check_modules( FONTCONFIG REQUIRED fontconfig>=2.4.1 )
pkg_check_modules( SYSTEMD systemd )

View file

@ -367,6 +367,7 @@ if env["prereqs"]:
conf = client_env.Configure(**configure_args)
have_client_prereqs = have_server_prereqs and \
CheckAsio(conf) and \
conf.CheckPKG("gobject-2.0") and \
conf.CheckPango("cairo", require_version = "1.21.3") and \
conf.CheckPKG("fontconfig") and \
conf.CheckBoost("program_options", require_version="1.35.0") and \

View file

@ -104,6 +104,7 @@ set(game-external-libs
${SDLMIXER_LIBRARY}
${ANA_LIBRARIES}
${SDLTTF_LIBRARY}
${GOBJECT_LIBRARIES}
${PANGOCAIRO_LIBRARIES}
${FONTCONFIG_LIBRARIES}
${LIBDBUS_LIBRARIES}