aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/set_version.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/set_version.sh b/tools/set_version.sh
index e15a859d..f989308c 100755
--- a/tools/set_version.sh
+++ b/tools/set_version.sh
@@ -6,5 +6,6 @@
sed -i -e 's/nanopb_version\s*=\s*"[^"]*"/nanopb_version = "'$1'"/' generator/nanopb_generator.py
sed -i -e 's/#define\s*NANOPB_VERSION\s*.*/#define NANOPB_VERSION '$1'/' pb.h
+sed -i -e 's/set(\s*nanopb_VERSION_STRING\s*[^)]*)/set(nanopb_VERSION_STRING '$1')/' CMakeLists.txt