Skip to content

Commit

Permalink
Add math library when required
Browse files Browse the repository at this point in the history
  • Loading branch information
franko committed Apr 19, 2019
1 parent 3432a39 commit 4428cb6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ if host_machine.system() == 'linux'
agg_deps += dependency('x11')
endif

cc = meson.get_compiler('cpp')
libm = cc.find_library('m', required : false)
agg_deps += libm

agg_includes = include_directories('include')

install_subdir('include', install_dir : 'include/agg2', strip_directory : true)
Expand Down

0 comments on commit 4428cb6

Please sign in to comment.