mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-05 23:41:44 +00:00
5e539890f1
When ADD_COMMIT_SHA is off (the default for release tarballs), buildinfo.cpp fell back to a hardcoded "0.8.0", so a 0.8.5/0.8.6 build reported 0.8.0 from IfcConvert --version and in written file headers. Pass CMake's RELEASE_VERSION (read from the VERSION file) to IfcParse as IFCOPENSHELL_VERSION_STRING and use it as the fallback, mirroring how the branch/commit defines are handled. The commit-sha build and the last-resort literal are unchanged. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>