Skip to content

Commit

Permalink
Search Freetype in SDL3_ttf modules
Browse files Browse the repository at this point in the history
  • Loading branch information
thehatkid committed Aug 15, 2024
1 parent 405ae5e commit bd71d78
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@ physfs = dependency('physfs', version: '>=2.1', static: build_static)
theora = dependency('theora', static: build_static)
vorbis = dependency('vorbis', static: build_static)
sdl3 = dependency('SDL3', static: build_static)
sdl3_ttf = dependency('SDL3_ttf', static: build_static)
sdl3_ttf = dependency('SDL3_ttf', method: 'cmake', modules: ['SDL3_ttf::SDL3_ttf-static', 'SDL3_ttf::freetype'])
sdl3_image = dependency('SDL3_image', static: build_static)
pixman = dependency('pixman-1', static: build_static)
png = dependency('libpng', static: build_static)
zlib = dependency('zlib', static: build_static)
uchardet = dependency('uchardet', static: build_static)
cppzmq = dependency('cppzmq', static: true)
freetype = dependency('freetype2', static: build_static)

if host_system == 'windows'
bz2 = dependency('bzip2', static: build_static)
Expand Down Expand Up @@ -105,7 +104,7 @@ if disable_openal == false
global_include_dirs += include_directories('audio')
endif

global_dependencies += [zlib, bz2, sdl3, pixman, physfs, theora, sdl3_ttf, sdl3_image, png, iconv, uchardet, cppzmq, vorbis, freetype]
global_dependencies += [zlib, bz2, sdl3, pixman, physfs, theora, sdl3_ttf, sdl3_image, png, iconv, uchardet, cppzmq, vorbis]
if host_system == 'windows'
global_dependencies += compilers['cpp'].find_library('wsock32')
global_dependencies += compilers['cpp'].find_library('winmm')
Expand Down

0 comments on commit bd71d78

Please sign in to comment.