Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix version information when not building inside a git repo (#489)
If the build is done from a tarball (without git), get the version information from the bpftrace_VERSION_MAJOR and bpftrace_VERSION_MINOR variables in main CMakeLists.txt file. Note: These variables must be bumped for each new release.
- Loading branch information
Showing
2 changed files
with
13 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters