ancient meson version on ubuntu 20-04
All checks were successful
Build ptprnt / build (push) Successful in 1m9s
All checks were successful
Build ptprnt / build (push) Successful in 1m9s
This commit is contained in:
@@ -7,7 +7,13 @@ project('ptprnt', 'cpp',
|
|||||||
usb_dep = dependency('libusb-1.0')
|
usb_dep = dependency('libusb-1.0')
|
||||||
log_dep = dependency('spdlog')
|
log_dep = dependency('spdlog')
|
||||||
pangocairo_dep = dependency('pangocairo')
|
pangocairo_dep = dependency('pangocairo')
|
||||||
cli11_dep = dependency('CLI11')
|
|
||||||
|
# CLI11
|
||||||
|
cli11_proj = subproject('cli11')
|
||||||
|
cli11_dep = cli11_proj.get_variable('CLI11_dep')
|
||||||
|
if not cli11_dep.found()
|
||||||
|
error('CLI11 not found, can not proceed')
|
||||||
|
endif
|
||||||
|
|
||||||
incdir = include_directories('src')
|
incdir = include_directories('src')
|
||||||
|
|
||||||
@@ -45,7 +51,6 @@ ptprnt_lib = library('ptprnt',
|
|||||||
ptprnt_dep = declare_dependency(include_directories: incdir,
|
ptprnt_dep = declare_dependency(include_directories: incdir,
|
||||||
link_with: ptprnt_lib)
|
link_with: ptprnt_lib)
|
||||||
|
|
||||||
|
|
||||||
ptprnt_exe = executable(
|
ptprnt_exe = executable(
|
||||||
'ptprnt',
|
'ptprnt',
|
||||||
'src/main.cpp',
|
'src/main.cpp',
|
||||||
|
Reference in New Issue
Block a user