COMP: Fix compilation on MINGW

This commit is contained in:
Mathieu Malaterre 2006-01-31 19:45:17 +00:00
parent 9ffd9e6619
commit 74c1b3637e
1 changed files with 2 additions and 2 deletions

View File

@ -42,11 +42,11 @@ IF(WIN32 AND BUILD_SHARED_LIBS)
)
# You can directly pass a .def file to cl this is
# recognized
IF(NOT BORLAND)
IF(NOT BORLAND AND NOT MINGW)
SET(OpenJPEG_SRCS ${OpenJPEG_SRCS}
${OPENJPEG_BINARY_DIR}/libopenjpeg/openjpeg.def
)
ENDIF(NOT BORLAND)
ENDIF(NOT BORLAND AND NOT MINGW)
ENDIF(WIN32 AND BUILD_SHARED_LIBS)
# Create the library