Skip to content

Commit

Permalink
meson: fix conf_data used before definition
Browse files Browse the repository at this point in the history
  • Loading branch information
aberaud committed Oct 3, 2024
1 parent 792b851 commit 88d0af9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ llhttp = dependency('llhttp', 'libllhttp', required: get_option('proxy_client'))
io_uring = dependency('liburing', required: false)

deps = [fmt, gnutls, nettle, msgpack, argon2, openssl, jsoncpp, llhttp, io_uring]
conf_data = configuration_data()

add_project_arguments('-DMSGPACK_NO_BOOST', '-DASIO_STANDALONE', language : 'cpp')
if io_uring.found()
Expand Down Expand Up @@ -45,8 +46,6 @@ opendht_src = [
'src/thread_pool.cpp',
]

conf_data = configuration_data()

if get_option('indexation').enabled()
opendht_src += 'src/indexation/pht.cpp'
add_project_arguments('-DOPENDHT_INDEXATION', language : 'cpp')
Expand Down

0 comments on commit 88d0af9

Please sign in to comment.