Skip to content
Snippets Groups Projects
Commit c6ee1e60 authored by Florian Schmaus's avatar Florian Schmaus
Browse files

[build] Emit a message if liburing subproject is used

parent d8461928
No related branches found
No related tags found
1 merge request!239[build] Emit a message if liburing subproject is used
......@@ -9,8 +9,11 @@ project('EMPER', 'c', 'cpp',
])
thread_dep = dependency('threads')
uring_dep = dependency('liburing', version: '2.0', required: false)
liburing_version = '2.0'
uring_dep = dependency('liburing', version: liburing_version, required: false)
if not uring_dep.found()
message('liburing ' + liburing_version + ' not found in system, using liburing subproject')
liburing_sp = subproject('liburing')
uring_dep = liburing_sp.get_variable('uring').as_system()
endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment