Skip to content

Commit

Permalink
Re-added curl to client deps
Browse files Browse the repository at this point in the history
  • Loading branch information
darkshade9 committed Aug 29, 2024
1 parent 45a0029 commit cedb46c
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -381,11 +381,6 @@ if sdl2.found()
config.set('USE_SDL', 'USE_CLIENT')
endif

common_deps = [zlib]
client_deps = [png, curl, sdl2]
server_deps = []
game_deps = [zlib]

curl = dependency('libcurl',
version: '>= 7.68.0',
required: get_option('libcurl'),
Expand All @@ -395,10 +390,13 @@ curl = dependency('libcurl',
if curl.found()
client_src += 'src/client/http.c'
config.set10('USE_CURL', true)
client_deps += curl
game_deps += curl
endif

common_deps = [zlib]
client_deps = [png, curl, sdl2]
server_deps = []
game_deps = [zlib]

jpeg = dependency('libjpeg',
required: get_option('libjpeg'),
default_options: fallback_opt + [ 'jpeg-turbo=disabled', 'tests=disabled' ]
Expand Down

0 comments on commit cedb46c

Please sign in to comment.