aboutsummaryrefslogtreecommitdiff
path: root/butl/buildfile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-04-28 16:38:03 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-04-28 16:38:03 +0200
commitdb275fa010229b26086f75f0dd533fdfce8751b4 (patch)
treea35f93b35d4f51b2074c8d9dcd5e0823e5966cdd /butl/buildfile
parentc470ddbfccef5c33f204535cb9327abdc6fcf2e2 (diff)
Add out_root to include search path now that we auto-generate version
Diffstat (limited to 'butl/buildfile')
-rw-r--r--butl/buildfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/butl/buildfile b/butl/buildfile
index 8a86b2c..25354c8 100644
--- a/butl/buildfile
+++ b/butl/buildfile
@@ -69,11 +69,11 @@ if $version.pre_release
else
lib{butl}: bin.lib.version = @"-$version.major.$version.minor"
-cxx.poptions =+ "-I$src_root"
+cxx.poptions =+ "-I$out_root" "-I$src_root"
obja{*}: cxx.poptions += -DLIBBUTL_STATIC_BUILD
objs{*}: cxx.poptions += -DLIBBUTL_SHARED_BUILD
-lib{butl}: cxx.export.poptions = "-I$src_root"
+lib{butl}: cxx.export.poptions = "-I$out_root" "-I$src_root"
liba{butl}: cxx.export.poptions += -DLIBBUTL_STATIC
libs{butl}: cxx.export.poptions += -DLIBBUTL_SHARED