Biswapriyo Nath
b92bb0584d
[CMake]: Fix version in pkgconfig file ( #6986 )
...
This change checks if the current source directory is a git repository.
If this is not checked the git command picks the commit hash from
parent directory. e.g. when tarball is extracted in a packaging repository.
2021-12-10 15:40:21 -08:00
Derek Bailey
d0cede9c90
Bumping to Version 2.0.5 ( #6967 )
2021-12-09 10:31:57 -08:00
Denis Protivensky
790f411542
[cmake] Fix getting version info from tags during the build ( #6936 )
...
Use `git describe --tags` to query for lightweight tags along with
the annotated ones.
2021-11-22 11:53:50 -08:00
Wouter van Oortmerssen
6ed780dbd5
C++/Rust version changes
2021-05-10 11:29:32 -07:00
David P. Sicilia
9064072e8c
Version message should be a "STATUS" to avoid going to stderr. ( #6316 )
2020-12-07 11:50:29 -08:00
Olivier Le Doeuff
6d0aae73cd
Fix git command executed in wrong folder when doing cmake superbuild ( #6039 )
2020-07-20 12:26:01 -07:00
Dmitry Volosnykh
7e4124d6e6
Handle git program or .git folder absence ( #5878 )
...
Assume version is 0.0.0.0 in such cases.
2020-05-04 13:23:41 -07:00
Vladimir Glavnyy
ecc07e7793
Fix a small problem with add_subdirectory(${FLATBUFFERS_DIR}) from top level project. ( #4764 )
2018-06-01 08:22:17 -07:00
Dmitry Volosnykh
daf0a420be
Support version compatibility checks via find_package command ( #4625 )
2018-02-15 13:39:15 -08:00