From c261a844d556566cc968d7b7bf5b913611e9f672 Mon Sep 17 00:00:00 2001
From: Julien Michel <julien.michel@c-s.fr>
Date: Fri, 19 Sep 2008 06:38:19 +0000
Subject: [PATCH] COMP: Trying to correct Visual 8.0 compilation errors.

---
 Utilities/otbossim/src/ossim/CMakeLists.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Utilities/otbossim/src/ossim/CMakeLists.txt b/Utilities/otbossim/src/ossim/CMakeLists.txt
index 450a6235b2..8820091697 100644
--- a/Utilities/otbossim/src/ossim/CMakeLists.txt
+++ b/Utilities/otbossim/src/ossim/CMakeLists.txt
@@ -35,6 +35,8 @@ ENDIF(WIN32)
 
 INCLUDE_DIRECTORIES(${OTB_BINARY_DIR}/Utilities/otbgeotiff/)
 
+#Specify that we are making DLL here
+ADD_DEFINITION(-DOSSIMMAKINGDLL)
 
 # For alls platform (except MINGW):
 IF( NOT MINGW )
-- 
GitLab