aboutsummaryrefslogtreecommitdiffstats
path: root/cmakeconfig.h.in
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2017-09-29 19:49:51 +0100
committerJoão Valverde <j@v6e.pt>2017-10-03 10:09:24 +0000
commit2777003e121a5d764b54c62590e7ceb46ae2c157 (patch)
tree1ca9471c447c0fcf94640328fd1a3207224615ad /cmakeconfig.h.in
parentd477ea35a946c2935974edb3fea45cf23513a03c (diff)
Add version check for plugin compatibility
Only plugins built for the same feature release (X.Y) are assured binary compatibility. Make sure we don't try to run unsuitable code and, if so, warn the user. This might happen for example if the user manually copies a binary plugin to the wrong folder, intentionally or by accident. I'm using "release version" to loosely mean not a patch release (i.e: a feature release). Change-Id: I896e9cbbd2d3843623fff6af8ef51002ec06f1f8 Reviewed-on: https://code.wireshark.org/review/23807 Petri-Dish: João Valverde <j@v6e.pt> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'cmakeconfig.h.in')
-rw-r--r--cmakeconfig.h.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmakeconfig.h.in b/cmakeconfig.h.in
index 628ea2c067..66d6c25d37 100644
--- a/cmakeconfig.h.in
+++ b/cmakeconfig.h.in
@@ -13,6 +13,7 @@
#define VERSION_MINOR ${PROJECT_MINOR_VERSION}
#define VERSION_MICRO ${PROJECT_PATCH_VERSION}
+#define VERSION_RELEASE "${PROJECT_RELEASE_VERSION}"
#define VERSION_FLAVOR "${VERSION_FLAVOR}"
/* FIXME: Move the path stuff to the CMakeInstallDirs.cmake file */