diff options
| author | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2006-01-31 19:45:17 +0000 |
|---|---|---|
| committer | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2006-01-31 19:45:17 +0000 |
| commit | 74c1b3637e922cac859dbda5cfefee4dc4f365e1 (patch) | |
| tree | daf5e1c85aff0a1e947aef85f1c5229cafe16964 | |
| parent | 9ffd9e66196a0c1412f4169e263bd00814581a7e (diff) | |
COMP: Fix compilation on MINGW
| -rw-r--r-- | libopenjpeg/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libopenjpeg/CMakeLists.txt b/libopenjpeg/CMakeLists.txt index b843a65f..46f9539c 100644 --- a/libopenjpeg/CMakeLists.txt +++ b/libopenjpeg/CMakeLists.txt @@ -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 |
