cmake: Defines PACKAGE_VERSION_* as pointed by jpeg.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Thu, 21 Feb 2008 21:37:55 +0000 (21:37 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Thu, 21 Feb 2008 21:37:55 +0000 (21:37 +0000)
extras/buildsystem/cmake/include/config.cmake

index f658ce5..c28de48 100644 (file)
@@ -26,6 +26,10 @@ set(PACKAGE_STRING "vlc")
 set(VERSION_MESSAGE "vlc-${VLC_VERSION}")
 set(COPYRIGHT_MESSAGE "Copyright © the VideoLAN team")
 set(COPYRIGHT_YEARS "2001-2008")
+set(PACKAGE_VERSION_EXTRA ${VLC_VERSION_EXTRA})
+set(PACKAGE_VERSION_MAJOR ${VLC_VERSION_MAJOR})
+set(PACKAGE_VERSION_MINOR ${VLC_VERSION_MINOR})
+set(PACKAGE_VERSION_REVISION ${VLC_VERSION_PATCH})
 
 ###########################################################
 # Options