mirror of
https://github.com/qpdf/qpdf.git
synced 2025-01-31 02:48:31 +00:00
For 'FUTURE' builds add "+future" to version string
Also, change so version to 0.
This commit is contained in:
parent
d7a364b882
commit
17c5b950c8
@ -147,8 +147,14 @@ endif()
|
||||
# increment SOVERSION every time we increment the project major
|
||||
# version. This works because qpdf uses semantic versioning. qpdf 10.x
|
||||
# was libqpdf28, so start from there.
|
||||
math(EXPR qpdf_SOVERSION "${PROJECT_VERSION_MAJOR} + 18")
|
||||
set(qpdf_LIBVERSION ${qpdf_SOVERSION}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH})
|
||||
|
||||
if(FUTURE)
|
||||
math(EXPR qpdf_SOVERSION 0)
|
||||
set(qpdf_LIBVERSION 0)
|
||||
else()
|
||||
math(EXPR qpdf_SOVERSION "${PROJECT_VERSION_MAJOR} + 18")
|
||||
set(qpdf_LIBVERSION ${qpdf_SOVERSION}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH})
|
||||
endif()
|
||||
|
||||
if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR})
|
||||
message(FATAL_ERROR "
|
||||
|
@ -27,7 +27,12 @@
|
||||
#define QPDF_MAJOR_VERSION 11
|
||||
#define QPDF_MINOR_VERSION 7
|
||||
#define QPDF_PATCH_VERSION 0
|
||||
#define QPDF_VERSION "11.7.0"
|
||||
|
||||
#ifdef QPDF_FUTURE
|
||||
# define QPDF_VERSION "11.7.0+future"
|
||||
#else
|
||||
# define QPDF_VERSION "11.7.0"
|
||||
#endif
|
||||
|
||||
/*
|
||||
* This file defines symbols that control the which functions,
|
||||
|
Loading…
x
Reference in New Issue
Block a user