ENH: Now verifies if the OPJ_STATIC macro is not
already defined, before it defines it.
This commit is contained in:
parent
00f7af7748
commit
dc700d5d50
|
@ -39,7 +39,7 @@
|
||||||
#cmakedefine OPENJPEG_USE_SYSTEM_ZLIB
|
#cmakedefine OPENJPEG_USE_SYSTEM_ZLIB
|
||||||
|
|
||||||
#cmakedefine BUILD_SHARED_LIBS
|
#cmakedefine BUILD_SHARED_LIBS
|
||||||
#if !defined(BUILD_SHARED_LIBS)
|
#if !defined(BUILD_SHARED_LIBS) && !defined(OPJ_STATIC)
|
||||||
#define OPJ_STATIC
|
#define OPJ_STATIC
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue