Commit e10fd290 authored by Rashad Kanavath's avatar Rashad Kanavath

PKG: set OTB install directory from OTB_MODULES_DIR because we got find_package

parent afe5b08e
......@@ -59,6 +59,7 @@ else(OUT_OF_SOURCE_BUILD)
set(SUPERBUILD_INSTALL_DIR ${SB_INSTALL_PREFIX})
if(WIN32 OR CMAKE_CROSSCOMPILING)
set(MONTEVERDI_INSTALL_DIR ${CMAKE_INSTALL_PREFIX})
set(OTB_INSTALL_DIR "${OTB_MODULES_DIR}/../../../..")
endif()
endif(OUT_OF_SOURCE_BUILD)
......
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