Define PACKAGE in config.h.
authorGerald Combs <gerald@wireshark.org>
Tue, 2 Aug 2011 21:23:00 +0000 (21:23 -0000)
committerGerald Combs <gerald@wireshark.org>
Tue, 2 Aug 2011 21:23:00 +0000 (21:23 -0000)
svn path=/trunk/; revision=38316

CMakeLists.txt
cmakeconfig.h.in

index 6d98ffdb166e747c39fe740a18b57b82baf301b2..3f1f9cf0e4fa778c329e462fc741fac64ccadc3f 100644 (file)
@@ -158,7 +158,6 @@ endif()
 
 add_definitions(
        -DHAVE_CONFIG_H
-       -DPACKAGE=\"wireshark\"
 )
 
 # Counterhack to work around some cache magic in CHECK_C_SOURCE_COMPILES
index 552260d34376ed9b7f603974ce9e1a5e5a5ed368..dc12509a0162c5016e9b0d983b4cf5f7a1f6b9b7 100644 (file)
@@ -2,6 +2,9 @@
 
 /* Note: You cannot use earlier #defines in later #cmakedefines (cmake 2.6.2). */
 
+/* Name of package */
+#define PACKAGE "wireshark"
+
 /* Version number of package */
 #define VERSION "${CPACK_PACKAGE_VERSION}"