Freshen version number when building with CMake

Fixes #979
This commit is contained in:
ISSOtm
2022-03-10 19:36:05 +01:00
committed by Eldred Habert
parent da66eeb40e
commit a4ead0c25f
4 changed files with 22 additions and 7 deletions

View File

@@ -6,10 +6,12 @@
# SPDX-License-Identifier: MIT
#
configure_file(version.c _version.c ESCAPE_QUOTES)
set(common_src
"error.c"
"extern/getopt.c"
"version.c"
"_version.c"
)
find_package(PkgConfig)