diff options
author | João Valverde <joao.valverde@tecnico.ulisboa.pt> | 2017-12-15 00:49:31 +0000 |
---|---|---|
committer | João Valverde <j@v6e.pt> | 2017-12-17 11:47:17 +0000 |
commit | f3444ed0f9c1d6e48b4b383afdd2b9fca9a8966c (patch) | |
tree | 8d89d4c03d412d5f9d5b245f96ca68236b668e59 /cmake | |
parent | ee8ca2e1d793e039bdd7304ad3c2c0cb42a69624 (diff) |
plugins: Remove moduleinfo.h
Micro version bump for mate to homogenize it between CMake and autotools.
The cmake macro doesn't handle the "a" suffix and it doesn't seem worth
implementing.
Change-Id: Ib022c6aa170623b83a9700e4fa098c60a9cddfab
Reviewed-on: https://code.wireshark.org/review/24847
Petri-Dish: João Valverde <j@v6e.pt>
Tested-by: Petri Dish Buildbot
Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/modules/WiresharkPlugin.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/modules/WiresharkPlugin.cmake b/cmake/modules/WiresharkPlugin.cmake index 5e652ce558..0d8e5c2c27 100644 --- a/cmake/modules/WiresharkPlugin.cmake +++ b/cmake/modules/WiresharkPlugin.cmake @@ -24,6 +24,9 @@ macro(SET_MODULE_INFO _plugin _ver_major _ver_minor _ver_micro _ver_extra) configure_file(${_plugin_rc_in} plugin.rc @ONLY) set(HAVE_PLUGIN_RC TRUE) endif() + + set(PLUGIN_VERSION "${_ver_major}.${_ver_minor}.${_ver_micro}") + add_definitions(-DPLUGIN_VERSION=\"${PLUGIN_VERSION}\") endmacro() macro(ADD_PLUGIN_LIBRARY _plugin _subfolder) |