CMake: Remove some unused definitions

This commit is contained in:
João Valverde 2021-07-17 17:47:18 +01:00
parent 8fa1a58e60
commit c0ae696253
3 changed files with 2 additions and 22 deletions

View File

@ -56,8 +56,6 @@ endif()
set(PROJECT_VERSION "${PROJECT_MAJOR_VERSION}.${PROJECT_MINOR_VERSION}.${PROJECT_PATCH_VERSION}${PROJECT_VERSION_EXTENSION}")
set(CPACK_PACKAGE_VERSION "${PROJECT_VERSION}")
include( CMakeOptions.txt )
# We require minimum C++11

View File

@ -47,7 +47,7 @@ macro(pod2manhtml _sourcefile _manext)
${PERL_EXECUTABLE} ${POD2MAN_EXECUTABLE}
--section=${_manext}
--center=\"The Wireshark Network Analyzer\"
--release=${CPACK_PACKAGE_VERSION}
--release=${PROJECT_VERSION}
${_sourcefile}.pod
> ${_outman}
DEPENDS

View File

@ -11,7 +11,7 @@
#define VERSION_EXTRA "$ENV{WIRESHARK_VERSION_EXTRA}"
/* Version number of package */
#define VERSION "${CPACK_PACKAGE_VERSION}${VERSION_EXTRA}"
#define VERSION "${PROJECT_VERSION}${VERSION_EXTRA}"
#define VERSION_MAJOR ${PROJECT_MAJOR_VERSION}
#define VERSION_MINOR ${PROJECT_MINOR_VERSION}
#define VERSION_MICRO ${PROJECT_PATCH_VERSION}
@ -283,24 +283,6 @@
/* Define to 1 if you have the <unistd.h> header file. */
#cmakedefine HAVE_UNISTD_H 1
/* Name of package */
#cmakedefine PACKAGE
/* Define to the address where bug reports for this package should be sent. */
#cmakedefine PACKAGE_BUGREPORT
/* Define to the full name of this package. */
#cmakedefine PACKAGE_NAME
/* Define to the full name and version of this package. */
#cmakedefine PACKAGE_STRING
/* Define to the one symbol short name of this package. */
#cmakedefine PACKAGE_TARNAME
/* Define to the version of this package. */
#cmakedefine PACKAGE_VERSION
/* Define if we have QtMultimedia */
#define QT_MULTIMEDIA_LIB 1