aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/meson.build b/meson.build
index 01f7716..c357bdd 100644
--- a/meson.build
+++ b/meson.build
@@ -16,11 +16,11 @@ sources = [
saffron_lib = static_library('saffron', sources, include_directories: inc, dependencies: deps)
test_deps = []
+
+# demonstrate how we can statically link SDL and saffron into an application easily
test_deps += dependency('sdl3', static: true)
test_deps += dependency('sdl3-ttf', static: true)
-
saffron_dep = declare_dependency(link_with: saffron_lib, include_directories: inc, dependencies: deps)
-
test_deps += saffron_dep
executable('saffron_test', 'tests/test_main.c', dependencies: test_deps)