From 177cd087315dd5a9fe9a69f953e0bc008a7c7a2a Mon Sep 17 00:00:00 2001 From: Cyrille Valladeau <cyrille.valladeau@c-s.fr> Date: Tue, 5 Jan 2010 10:58:47 +0100 Subject: [PATCH] ENH : revert change on ossim CMakeList cause without TARGET_LINK_LIBRARY leod don't compile cause don't fing TIFF and other libraries symbols --- Utilities/otbossim/CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Utilities/otbossim/CMakeLists.txt b/Utilities/otbossim/CMakeLists.txt index e7391011fd..7d3c19779d 100644 --- a/Utilities/otbossim/CMakeLists.txt +++ b/Utilities/otbossim/CMakeLists.txt @@ -146,9 +146,8 @@ IF(NOT OTB_DISABLE_UTILITIES_COMPILATION) # PROPERTIES # LINK_INTERFACE_LIBRARIES "" # ) -# TARGET_LINK_LIBRARIES(otbossim ${GDAL_LIBRARY})#To make sure that gdal appear before geotiff -# TARGET_LINK_LIBRARIES(otbossim ${JPEG_LIBRARY} ${TIFF_LIBRARY} ${GEOTIFF_LIBRARY} ${OPENTHREADS_LIBRARY}) - TARGET_LINK_LIBRARIES(otbossim ${OPENTHREADS_LIBRARY}) + TARGET_LINK_LIBRARIES(otbossim ${GDAL_LIBRARY})#To make sure that gdal appear before geotiff + TARGET_LINK_LIBRARIES(otbossim ${JPEG_LIBRARY} ${TIFF_LIBRARY} ${GEOTIFF_LIBRARY} ${OPENTHREADS_LIBRARY}) IF(NOT OTB_INSTALL_NO_LIBRARIES) INSTALL(TARGETS otbossim -- GitLab