From 6013f746ba3d9fe41a9548b356fe8a56ca378e63 Mon Sep 17 00:00:00 2001
From: Emmanuel Christophe <emmanuel.christophe@orfeo-toolbox.org>
Date: Mon, 21 Dec 2009 16:38:40 +0800
Subject: [PATCH] COMP: add again the target link to ossim after compilation
 failed on Leod

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

diff --git a/Utilities/otbossimplugins/CMakeLists.txt b/Utilities/otbossimplugins/CMakeLists.txt
index b2e4ac195b..1266ce93e9 100644
--- a/Utilities/otbossimplugins/CMakeLists.txt
+++ b/Utilities/otbossimplugins/CMakeLists.txt
@@ -25,6 +25,8 @@ SET(ossimplugins_SOURCES
 
 ADD_LIBRARY(otbossimplugins ${ossimplugins_SOURCES} )
 #TARGET_LINK_LIBRARIES(otbossimplugins ${GDAL_LIBRARY} otbossim)
+TARGET_LINK_LIBRARIES(otbossimplugins otbossim)
+
 IF(OTB_LIBRARY_PROPERTIES)
   SET_TARGET_PROPERTIES(otbossimplugins PROPERTIES ${OTB_LIBRARY_PROPERTIES})
 ENDIF(OTB_LIBRARY_PROPERTIES)
-- 
GitLab