Define PACKAGE in config.h.
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 2 Aug 2011 21:23:00 +0000 (21:23 +0000)
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 2 Aug 2011 21:23:00 +0000 (21:23 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38316 f5534014-38df-0310-8fa8-9805f1628bb7

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}"