Skip to content
Snippets Groups Projects
Commit eabb73dc authored by Thomas Feuvrier's avatar Thomas Feuvrier
Browse files

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

parent 03fe6ab8
No related branches found
No related tags found
No related merge requests found
......@@ -103,13 +103,18 @@ IF( OTB_USE_JPEG2000 )
SET(OTB_COMPILE_JPEG2000 0)
ENDIF(OTB_USE_EXTERNAL_ITK)
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)
ENDIF(CMAKE_GENERATOR MATCHES "^Visual Studio 7$")
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)
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 )
# Check jpeg2000 support
IF(OTB_COMPILE_JPEG2000)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment