COMP: Fix compilation on MINGW
This commit is contained in:
parent
9ffd9e6619
commit
74c1b3637e
|
@ -42,11 +42,11 @@ IF(WIN32 AND BUILD_SHARED_LIBS)
|
||||||
)
|
)
|
||||||
# You can directly pass a .def file to cl this is
|
# You can directly pass a .def file to cl this is
|
||||||
# recognized
|
# recognized
|
||||||
IF(NOT BORLAND)
|
IF(NOT BORLAND AND NOT MINGW)
|
||||||
SET(OpenJPEG_SRCS ${OpenJPEG_SRCS}
|
SET(OpenJPEG_SRCS ${OpenJPEG_SRCS}
|
||||||
${OPENJPEG_BINARY_DIR}/libopenjpeg/openjpeg.def
|
${OPENJPEG_BINARY_DIR}/libopenjpeg/openjpeg.def
|
||||||
)
|
)
|
||||||
ENDIF(NOT BORLAND)
|
ENDIF(NOT BORLAND AND NOT MINGW)
|
||||||
ENDIF(WIN32 AND BUILD_SHARED_LIBS)
|
ENDIF(WIN32 AND BUILD_SHARED_LIBS)
|
||||||
|
|
||||||
# Create the library
|
# Create the library
|
||||||
|
|
Loading…
Reference in New Issue