summaryrefslogtreecommitdiff
path: root/format/buildfile
diff options
context:
space:
mode:
Diffstat (limited to 'format/buildfile')
-rw-r--r--format/buildfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/format/buildfile b/format/buildfile
index c21eb88..e296bb7 100644
--- a/format/buildfile
+++ b/format/buildfile
@@ -3,10 +3,10 @@ lib{format}: {hxx cxx}{format} hxx{export}
# For pre-releases use the complete version to make sure they cannot be used
# in place of another pre-release or the final version.
#
-if $abi_prerelease
- lib{format}: bin.lib.version = @-$version
+if $version.pre_release
+ lib{format}: bin.lib.version = @"-$version.project_id"
else
- lib{format}: bin.lib.version = @-$abi_major.$abi_minor
+ lib{format}: bin.lib.version = @"-$version.major.$version.minor"
cxx.poptions =+ "-I$src_root"
obja{*}: cxx.poptions += -DLIBFORMAT_STATIC_BUILD