aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-04-28 16:34:29 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-04-28 16:34:29 +0200
commitcc35be1bf8f23ad6768dbb4f350be46e506f9381 (patch)
treedf983b8e09abe162fe758fd99613dbe181eb7aef
parent9c54bf28fd0f3f2e2f1592c3e8d071ff6decfe2c (diff)
Add out_root to include search path now that we auto-generate version
-rw-r--r--odb/buildfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/buildfile b/odb/buildfile
index 841fe43..e9958c1 100644
--- a/odb/buildfile
+++ b/odb/buildfile
@@ -100,11 +100,11 @@ if $version.pre_release
else
lib{odb}: bin.lib.version = @"-$version.major.$version.minor"
-cxx.poptions =+ "-I$src_root" -DLIBODB_BUILD2
+cxx.poptions =+ "-I$out_root" "-I$src_root" -DLIBODB_BUILD2
obja{*}: cxx.poptions += -DLIBODB_STATIC_BUILD
objs{*}: cxx.poptions += -DLIBODB_SHARED_BUILD
-lib{odb}: cxx.export.poptions = "-I$src_root" -DLIBODB_BUILD2
+lib{odb}: cxx.export.poptions = "-I$out_root" "-I$src_root" -DLIBODB_BUILD2
liba{odb}: cxx.export.poptions += -DLIBODB_STATIC
libs{odb}: cxx.export.poptions += -DLIBODB_SHARED