Commit fb120859 authored by Rafaël Carré's avatar Rafaël Carré

Fix PACKAGE_VERSION_* generation with cmake

parent 24c38138
......@@ -333,9 +333,9 @@
#cmakedefine PACKAGE_TARNAME "${PACKAGE_TARNAME}"
#cmakedefine PACKAGE_VERSION "${PACKAGE_VERSION}"
#cmakedefine PACKAGE_VERSION_EXTRA "${PACKAGE_VERSION_EXTRA}"
#cmakedefine PACKAGE_VERSION_MAJOR ${PACKAGE_VERSION_MAJOR}
#cmakedefine PACKAGE_VERSION_MINOR ${PACKAGE_VERSION_MINOR}
#cmakedefine PACKAGE_VERSION_REVISION ${PACKAGE_VERSION_REVISION}
#define PACKAGE_VERSION_MAJOR "@PACKAGE_VERSION_MAJOR@"
#define PACKAGE_VERSION_MINOR "@PACKAGE_VERSION_MINOR@"
#define PACKAGE_VERSION_REVISION "@PACKAGE_VERSION_REVISION@"
#cmakedefine PRI_MACROS_BROKEN
#cmakedefine RETSIGTYPE
#cmakedefine SDL_IMAGE_INCLUDE_FILE
......
......@@ -63,9 +63,9 @@ include( ${CMAKE_SOURCE_DIR}/cmake/pkg_check_modules.cmake )
# Versioning
###########################################################
set(VLC_VERSION_MAJOR 0)
set(VLC_VERSION_MINOR 9)
set(VLC_VERSION_PATCH 0)
set(VLC_VERSION_MAJOR "0")
set(VLC_VERSION_MINOR "9")
set(VLC_VERSION_PATCH "0")
set(VLC_VERSION_EXTRA "-svn")
set(VLC_VERSION ${VLC_VERSION_MAJOR}.${VLC_VERSION_MINOR}.${VLC_VERSION_PATCH}${VLC_VERSION_EXTRA})
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment