summaryrefslogtreecommitdiff
path: root/format/buildfile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-04-28 16:41:14 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-04-28 16:41:14 +0200
commit1b071f8381cd262c2e800defbb5a1850207d22d2 (patch)
tree311f5f9b313b5e91db1fc7625474dbc9a8be9a04 /format/buildfile
parent436fd5437eb10463aa8e7cbf8751b91797d1402f (diff)
Add out_root to include search path now that we auto-generate version
Diffstat (limited to 'format/buildfile')
-rw-r--r--format/buildfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/format/buildfile b/format/buildfile
index e296bb7..e84af47 100644
--- a/format/buildfile
+++ b/format/buildfile
@@ -8,11 +8,11 @@ if $version.pre_release
else
lib{format}: bin.lib.version = @"-$version.major.$version.minor"
-cxx.poptions =+ "-I$src_root"
+cxx.poptions =+ "-I$out_root" "-I$src_root"
obja{*}: cxx.poptions += -DLIBFORMAT_STATIC_BUILD
objs{*}: cxx.poptions += -DLIBFORMAT_SHARED_BUILD
-lib{format}: cxx.export.poptions = "-I$src_root"
+lib{format}: cxx.export.poptions = "-I$out_root" "-I$src_root"
liba{format}: cxx.export.poptions += -DLIBFORMAT_STATIC
libs{format}: cxx.export.poptions += -DLIBFORMAT_SHARED