Skip to content
Snippets Groups Projects
Commit 51b4b912 authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

find ossim from CMAKE_PREFIX_PATH

parent 4ed081df
No related branches found
No related tags found
No related merge requests found
...@@ -50,10 +50,11 @@ endif() ...@@ -50,10 +50,11 @@ endif()
if(USE_SYSTEM_OSSIM) if(USE_SYSTEM_OSSIM)
set(OTB_SB_OSSIM_CONFIG) set(OTB_SB_OSSIM_CONFIG)
else() else()
set(OTB_SB_OSSIM_CONFIG #try OTB can find automatically from CMAKE_PREFIX_PATH
-DOSSIM_INCLUDE_DIR:PATH=${CMAKE_INSTALL_PREFIX}/include set(OTB_SB_OSSIM_CONFIG)
-DOSSIM_LIBRARY:PATH=${CMAKE_INSTALL_PREFIX}/lib/libossim${CMAKE_SHARED_LIBRARY_SUFFIX} #-DOSSIM_INCLUDE_DIR:PATH=${CMAKE_INSTALL_PREFIX}/include
) #-DOSSIM_LIBRARY:PATH=${CMAKE_INSTALL_PREFIX}/lib/libossim${CMAKE_SHARED_LIBRARY_SUFFIX}
#)
list(APPEND ${proj}_DEPENDENCIES OSSIM) list(APPEND ${proj}_DEPENDENCIES OSSIM)
endif() endif()
......
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