aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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