aboutsummaryrefslogtreecommitdiff
path: root/bpkg
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-04-28 16:37:43 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-04-28 16:37:43 +0200
commit5fa80655ae4c87598313641d7322d28007e5fb31 (patch)
tree6d3bf7df1035822b4bfb1c6c4ac871aadf1b7f93 /bpkg
parentdbd80c8ab498dc0e52d61c297608cd7e7e98942d (diff)
Add out_root to include search path now that we auto-generate version
Diffstat (limited to 'bpkg')
-rw-r--r--bpkg/buildfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/bpkg/buildfile b/bpkg/buildfile
index 7def27f..ae87591 100644
--- a/bpkg/buildfile
+++ b/bpkg/buildfile
@@ -21,11 +21,11 @@ if $version.pre_release
else
lib{bpkg}: bin.lib.version = @"-$version.major.$version.minor"
-cxx.poptions =+ "-I$src_root"
+cxx.poptions =+ "-I$out_root" "-I$src_root"
obja{*}: cxx.poptions += -DLIBBPKG_STATIC_BUILD
objs{*}: cxx.poptions += -DLIBBPKG_SHARED_BUILD
-lib{bpkg}: cxx.export.poptions = "-I$src_root"
+lib{bpkg}: cxx.export.poptions = "-I$out_root" "-I$src_root"
liba{bpkg}: cxx.export.poptions += -DLIBBPKG_STATIC
libs{bpkg}: cxx.export.poptions += -DLIBBPKG_SHARED