From b08135e7c114f3814778cc79e842bdfa543decbe Mon Sep 17 00:00:00 2001 From: Mathieu Malaterre Date: Mon, 28 Apr 2014 09:17:31 +0000 Subject: [PATCH] [trunk] Finalize API for openjpeg 2.1 public header will only contains minimal information: major, minor and build version Prefix has been changed from OPENJPEG to OPJ for consistency SOVERSION has been removed from header (ABI vs API info) OPJ_VERSION string has been removed, since it is accessible already (PACKAGE_VERSION) Fixes issue 342 --- src/lib/openjp2/opj_config.h.cmake.in | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/lib/openjp2/opj_config.h.cmake.in b/src/lib/openjp2/opj_config.h.cmake.in index dd8748d7..5f762ca3 100644 --- a/src/lib/openjp2/opj_config.h.cmake.in +++ b/src/lib/openjp2/opj_config.h.cmake.in @@ -5,8 +5,6 @@ /* OpenJPEG Versioning */ /* Version number. */ -#define OPENJPEG_VERSION_MAJOR @OPENJPEG_VERSION_MAJOR@ -#define OPENJPEG_VERSION_MINOR @OPENJPEG_VERSION_MINOR@ -#define OPENJPEG_VERSION_BUILD @OPENJPEG_VERSION_BUILD@ -#define OPENJPEG_VERSION "@OPENJPEG_VERSION@" -#define OPENJPEG_SOVERSION "@OPENJPEG_SOVERSION@" +#define OPJ_VERSION_MAJOR @OPENJPEG_VERSION_MAJOR@ +#define OPJ_VERSION_MINOR @OPENJPEG_VERSION_MINOR@ +#define OPJ_VERSION_BUILD @OPENJPEG_VERSION_BUILD@ -- 2.40.0