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

ENH: Add -DWIN32 compilation option for kml library.

parent d21f466a
No related branches found
No related tags found
No related merge requests found
......@@ -166,6 +166,11 @@ IF(CMAKE_COMPILER_IS_GNUCXX)
SET_SOURCE_FILES_PROPERTIES( ${f} PROPERTIES COMPILE_FLAGS -w )
ENDFOREACH(f)
ENDIF(CMAKE_COMPILER_IS_GNUCXX)
IF(WIN32)
IF(NOT CYGWIN)
ADD_DEFINITIONS(-DWIN32)
ENDIF(NOT CYGWIN)
ENDIF(WIN32)
ADD_LIBRARY(otbkml ${libkml_SOURCES} )
IF( OTB_USE_EXTERNAL_EXPAT )
......
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