parent
2772a4cbdf
commit
aad3a7a76e
6 changed files with 33 additions and 14 deletions
@ -0,0 +1,8 @@ |
||||
project('external dependency', 'c') |
||||
|
||||
# Zlib is probably on all dev machines. |
||||
|
||||
dep = find_dep('zlib', required : true) |
||||
exe = executable('zlibprog', 'prog.c', deps : dep) |
||||
|
||||
add_test('zlibtest', exe) |
@ -0,0 +1,8 @@ |
||||
#include<zlib.h> |
||||
|
||||
int main(int argc, char **argv) { |
||||
void * something = deflate; |
||||
if(something != 0) |
||||
return 0; |
||||
return 1; |
||||
} |
Loading…
Reference in new issue