From 1b5319323ab61fb6412037c2737b08ac7c5ab66a Mon Sep 17 00:00:00 2001 From: Julien Michel <julien.michel@orfeo-toolbox.org> Date: Thu, 29 Jan 2009 15:43:03 +0100 Subject: [PATCH] COMP: Fixed a compilation warning on Visual 8.0 (redefinition of OPJ_STATIC) --- Utilities/ITK/Utilities/gdcm/gdcmConfigure.h.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Utilities/ITK/Utilities/gdcm/gdcmConfigure.h.in b/Utilities/ITK/Utilities/gdcm/gdcmConfigure.h.in index c503866a3d..be37daf255 100644 --- a/Utilities/ITK/Utilities/gdcm/gdcmConfigure.h.in +++ b/Utilities/ITK/Utilities/gdcm/gdcmConfigure.h.in @@ -90,7 +90,11 @@ /* For OpenJPEG */ #cmakedefine OPJ_EXPORTS + +// OTB path: fixing redefinition warning +#ifndef OPJ_STATIC #cmakedefine OPJ_STATIC +#endif /*--------------------------------------------------------------------------*/ /* GDCM Versioning */ -- GitLab