Skip to content

Commit

Permalink
random bullshit go
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan200101 committed Dec 9, 2024
1 parent 42990a1 commit 9500682
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ if not get_option('source-only')

# we explicitly need these
sdl_options.add_cmake_defines({
'SDL_STATIC': true,

'SDL_LOADSO': true,

'SDL_VIDEO': true,
Expand Down Expand Up @@ -164,8 +166,8 @@ if not get_option('source-only')
'SDL_SYSTEM_ICONV': false
})

sdl_dep = dependency('SDL2', required: false)
sdlmain_dep = dependency('SDL2main', required: false)
sdl_dep = dependency('sdl2', required: false)
sdlmain_dep = dependency('sdl2main', required: false)

if not sdl_dep.found() or (host_machine.system() == 'windows' and not sdlmain_dep.found())
sdl_proj = cmake.subproject('sdl2', options: sdl_options)
Expand Down

0 comments on commit 9500682

Please sign in to comment.