From 74c1b3637e922cac859dbda5cfefee4dc4f365e1 Mon Sep 17 00:00:00 2001 From: Mathieu Malaterre Date: Tue, 31 Jan 2006 19:45:17 +0000 Subject: [PATCH] COMP: Fix compilation on MINGW --- libopenjpeg/CMakeLists.txt | 4 ++-- 1 file 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