Skip to content
Snippets Groups Projects
Commit 93176eb2 authored by OTB Bot's avatar OTB Bot
Browse files

BUG: Add ADD_DEFINITIONS(-DCOMPILED_FROM_DSP) for Visual platform because...

BUG: Add ADD_DEFINITIONS(-DCOMPILED_FROM_DSP) for Visual platform because don't know memmove and bcopy functions.
Tested on Visual 7.1 (.NET 2003)
parent eb993976
No related branches found
No related tags found
No related merge requests found
......@@ -49,8 +49,15 @@ CHECK_FUNCTION_EXISTS( "memmove" OTB_EXPAT_HAVE_MEMMOVE )
CHECK_FUNCTION_EXISTS( "mmap" OTB_EXPAT_HAVE_MMAP )
IF(WIN32)
IF(NOT BORLAND)
IF(NOT CYGWIN)
IF(NOT MINGW)
ADD_DEFINITIONS(-DCOMPILED_FROM_DSP)
ENDIF(NOT MINGW)
ENDIF(NOT CYGWIN)
ENDIF(NOT BORLAND)
ENDIF(WIN32)
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/cmake_expat_config.h.in
......
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