Removed unused PACKAGE_* macros.
authorRoman Donchenko <roman.donchenko@itseez.com>
Thu, 11 Jul 2013 10:26:47 +0000 (14:26 +0400)
committerRoman Donchenko <roman.donchenko@itseez.com>
Thu, 11 Jul 2013 10:30:46 +0000 (14:30 +0400)
cmake/OpenCVGenHeaders.cmake
cmake/templates/cvconfig.h.cmake
modules/highgui/src/grfmt_jpeg2000.cpp

index d2d38c9..c7129fe 100644 (file)
@@ -1,13 +1,3 @@
-# ----------------------------------------------------------------------------
-#  Variables for cvconfig.h.cmake
-# ----------------------------------------------------------------------------
-set(PACKAGE "opencv")
-set(PACKAGE_BUGREPORT "opencvlibrary-devel@lists.sourceforge.net")
-set(PACKAGE_NAME "opencv")
-set(PACKAGE_STRING "${PACKAGE} ${OPENCV_VERSION}")
-set(PACKAGE_TARNAME "${PACKAGE}")
-set(PACKAGE_VERSION "${OPENCV_VERSION}")
-
 # platform-specific config file
 configure_file("${OpenCV_SOURCE_DIR}/cmake/templates/cvconfig.h.cmake" "${OPENCV_CONFIG_FILE_INCLUDE_DIR}/cvconfig.h")
 
index 90baa3f..8f88ea3 100644 (file)
 /* OpenCV compiled as static or dynamic libs */
 #cmakedefine  BUILD_SHARED_LIBS
 
-/* Name of package */
-#define  PACKAGE "${PACKAGE}"
-
-/* Define to the address where bug reports for this package should be sent. */
-#define  PACKAGE_BUGREPORT "${PACKAGE_BUGREPORT}"
-
-/* Define to the full name of this package. */
-#define  PACKAGE_NAME "${PACKAGE_NAME}"
-
-/* Define to the full name and version of this package. */
-#define  PACKAGE_STRING "${PACKAGE_STRING}"
-
-/* Define to the one symbol short name of this package. */
-#define  PACKAGE_TARNAME "${PACKAGE_TARNAME}"
-
-/* Define to the version of this package. */
-#define  PACKAGE_VERSION "${PACKAGE_VERSION}"
-
 /* Version number of package */
 #define  VERSION "${PACKAGE_VERSION}"
 
index d9080e5..28818e3 100644 (file)
 #endif
 #endif
 
-#undef PACKAGE
-#undef PACKAGE_BUGREPORT
-#undef PACKAGE_NAME
-#undef PACKAGE_STRING
-#undef PACKAGE_TARNAME
-#undef PACKAGE_VERSION
 #undef VERSION
 
 #include <jasper/jasper.h>