Commit eabb73dc authored by Thomas Feuvrier's avatar Thomas Feuvrier

MAJ : pour CYGWIN, JPEG2000 est désactivé.

parent 03fe6ab8
...@@ -103,13 +103,18 @@ IF( OTB_USE_JPEG2000 ) ...@@ -103,13 +103,18 @@ IF( OTB_USE_JPEG2000 )
SET(OTB_COMPILE_JPEG2000 0) SET(OTB_COMPILE_JPEG2000 0)
ENDIF(OTB_USE_EXTERNAL_ITK) ENDIF(OTB_USE_EXTERNAL_ITK)
IF(CMAKE_GENERATOR MATCHES "^Visual Studio 7$") IF(CMAKE_GENERATOR MATCHES "^Visual Studio 7$")
MESSAGE(STATUS "WARNING: In Visual Studio 7, jpeg2000 support is disable.") MESSAGE(STATUS "WARNING: For Visual Studio 7, jpeg2000 support is disable.")
SET(OTB_COMPILE_JPEG2000 0) SET(OTB_COMPILE_JPEG2000 0)
ENDIF(CMAKE_GENERATOR MATCHES "^Visual Studio 7$") ENDIF(CMAKE_GENERATOR MATCHES "^Visual Studio 7$")
IF(CMAKE_GENERATOR MATCHES "^Visual Studio 7 .NET 2003$") IF(CMAKE_GENERATOR MATCHES "^Visual Studio 7 .NET 2003$")
MESSAGE(STATUS "WARNING: In Visual Studio 7, jpeg2000 support is disable.") MESSAGE(STATUS "WARNING: For Visual Studio 7, jpeg2000 support is disable.")
SET(OTB_COMPILE_JPEG2000 0) SET(OTB_COMPILE_JPEG2000 0)
ENDIF(CMAKE_GENERATOR MATCHES "^Visual Studio 7 .NET 2003$") ENDIF(CMAKE_GENERATOR MATCHES "^Visual Studio 7 .NET 2003$")
IF(CYGWIN)
MESSAGE(STATUS "WARNING: For cygwin, jpeg2000 support is disable.")
SET(OTB_COMPILE_JPEG2000 0)
ENDIF(CYGWIN)
ENDIF( OTB_USE_JPEG2000 ) ENDIF( OTB_USE_JPEG2000 )
# Check jpeg2000 support # Check jpeg2000 support
IF(OTB_COMPILE_JPEG2000) IF(OTB_COMPILE_JPEG2000)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment