Skip to content
Snippets Groups Projects
Commit 177cd087 authored by Cyrille Valladeau's avatar Cyrille Valladeau
Browse files

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
Branches
Tags
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment