aboutsummaryrefslogtreecommitdiffstats
path: root/cmakeconfig.h.in
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss.ws@gmail.com>2014-01-02 19:11:06 +0000
committerJeff Morriss <jeff.morriss.ws@gmail.com>2014-01-02 19:11:06 +0000
commita56494a526e6c362c22b1169fa42ca150e78a672 (patch)
treea5d9260ee3f6c8a838b1cb7fa74b031f7b04cc26 /cmakeconfig.h.in
parentbbcd2dcc12e4f4614be252d3df3d989067b7e472 (diff)
Fix wireshark-qt startup coredump under autofoo and Windows: make cmake's
VERSION_* macros integers instead of numbers (and treat them as such in ui/qt/about_dialog.cpp). svn path=/trunk/; revision=54563
Diffstat (limited to 'cmakeconfig.h.in')
-rw-r--r--cmakeconfig.h.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmakeconfig.h.in b/cmakeconfig.h.in
index 81fcd6c4b1..d958f0791a 100644
--- a/cmakeconfig.h.in
+++ b/cmakeconfig.h.in
@@ -7,9 +7,9 @@
/* Version number of package */
#define VERSION "${CPACK_PACKAGE_VERSION}"
-#define VERSION_MAJOR "${PROJECT_MAJOR_VERSION}"
-#define VERSION_MINOR "${PROJECT_MINOR_VERSION}"
-#define VERSION_MICRO "${PROJECT_PATCH_VERSION}"
+#define VERSION_MAJOR ${PROJECT_MAJOR_VERSION}
+#define VERSION_MINOR ${PROJECT_MINOR_VERSION}
+#define VERSION_MICRO ${PROJECT_PATCH_VERSION}
/* FIXME: Move the path stuff to the CMakeInstallDirs.cmake file */
/* Directory for data */