diff --git a/include/sfmlbackend/components.hpp b/include/sfmlbackend/components.hpp index 68003ac..2e97452 100644 --- a/include/sfmlbackend/components.hpp +++ b/include/sfmlbackend/components.hpp @@ -1,6 +1,5 @@ #pragma once #include - #include "dbc.hpp" #include "sfmlbackend/color.hpp" #include "lel.hpp" diff --git a/meson.build b/meson.build index 2212951..78bd0d0 100644 --- a/meson.build +++ b/meson.build @@ -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,