Skip to content

Instantly share code, notes, and snippets.

@ppaalanen
Created March 28, 2019 15:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ppaalanen/26a222dff81c7e2b2e9f9079f32bf7b7 to your computer and use it in GitHub Desktop.
Save ppaalanen/26a222dff81c7e2b2e9f9079f32bf7b7 to your computer and use it in GitHub Desktop.
Pixman -I argument not passed to executable
project('maa', 'c')
pixman = dependency('pixman-1')
lib = shared_library('foo.c')
dep = declare_dependency(
link_with: lib,
dependencies: pixman
)
executable(
'maa',
'main.c',
dependencies: dep.partial_dependency(
compile_args: true,
includes: true
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment