Commit 177cd087 authored by Cyrille Valladeau's avatar Cyrille Valladeau

ENH : revert change on ossim CMakeList cause without TARGET_LINK_LIBRARY leod...

ENH : revert change on ossim CMakeList cause without TARGET_LINK_LIBRARY leod don't compile cause don't fing TIFF and other libraries symbols
parent 75d0eb0a
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment