Try to trim down what libs are actually needed.

main
Zed A. Shaw 2 days ago
parent 06ca57e5da
commit f520f0bade
  1. 1
      include/sfmlbackend/components.hpp
  2. 13
      meson.build

@ -1,6 +1,5 @@
#pragma once
#include <SFML/Graphics.hpp>
#include "dbc.hpp"
#include "sfmlbackend/color.hpp"
#include "lel.hpp"

@ -61,12 +61,13 @@ sfml_graphics = subproject('sfml').get_variable('sfml_graphics_dep')
sfml_system = subproject('sfml').get_variable('sfml_system_dep')
sfml_window = subproject('sfml').get_variable('sfml_window_dep')
lib_depends = [ fmt, sfml_graphics, sfml_system, sfml_window ]
dependencies += [
fmt, json, freetype2,
flac, ogg, vorbis, vorbisfile, vorbisenc,
sfml_audio, sfml_graphics,
sfml_system, sfml_window
]
json, freetype2, flac, ogg,
vorbis, vorbisfile, vorbisenc, sfml_audio,
] + lib_depends
sources = [
'src/dbc.cpp',
@ -91,7 +92,7 @@ lel_guecs_lib = static_library('lel-guecs',
cpp_args: cpp_args,
include_directories: lel_guecs_inc,
override_options: exe_defaults,
dependencies: dependencies)
dependencies: lib_depends)
lel_guecs_dep = declare_dependency(
link_with: lel_guecs_lib,

Loading…
Cancel
Save