Skip to content
Snippets Groups Projects
Commit 7a5f0df7 authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

ENH: add geotiff dependency to OSSIM

parent 916a9c9e
No related branches found
No related tags found
No related merge requests found
......@@ -31,6 +31,16 @@ else()
list(APPEND ${proj}_DEPENDENCIES TIFF)
endif()
if(USE_SYSTEM_GEOTIFF)
set(OSSIM_SB_GEOTIFF_CONFIG)
else()
set(OSSIM_SB_GEOTIFF_CONFIG
-DGEOTIFF_INCLUDE_DIR:STRING=${CMAKE_INSTALL_PREFIX}/include
-DGEOTIFF_LIBRARY:STRING=${CMAKE_INSTALL_PREFIX}/lib/libgeotiff.so
)
list(APPEND ${proj}_DEPENDENCIES GEOTIFF)
endif()
if(USE_SYSTEM_GEOS)
set(OSSIM_SB_GEOS_CONFIG)
else()
......@@ -56,6 +66,7 @@ else()
-DCMAKE_CXX_FLAGS:STRING=-D__STDC_CONSTANT_MACROS
-DWMS_INCLUDE_DIR:STRING=${OSSIM_SB_SRC}/libwms/include
${OSSIM_SB_TIFF_CONFIG}
${OSSIM_SB_GEOTIFF_CONFIG}
${OSSIM_SB_GEOS_CONFIG}
-DBUILD_OSSIMPREDATOR:BOOL=OFF
-DBUILD_OSSIMPLANET:BOOL=OFF
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment