Skip to content
Snippets Groups Projects
Commit 0bc6dc1b authored by Mickael Savinaud's avatar Mickael Savinaud
Browse files

INST: build the MVD2 package upon the OTB install dir to retrieve the otb...

INST: build the MVD2 package upon the OTB install dir to retrieve the otb application in a cleaner way
parent d8c4d201
No related branches found
No related tags found
No related merge requests found
......@@ -42,8 +42,14 @@ if(NOT GDAL_DATA)
endif(NOT GDAL_DATA)
# Search all the applications available in the OTB build dir
file(GLOB OTB_APPS_LIST ${OTB_DIR}/bin/RelWithDebInfo/otbapp_*.dll)
# Search all the applications available in the OTB install dir
file(GLOB OTB_APPS_LIST ${OTB_DIR}/applications/otbapp_*.dll) # /lib/otb
message("${OTB_DIR}/lib/otb/applications/")
if(NOT OTB_APPS_LIST)
message(WARNING "No OTB-applications detected")
endif()
# Install the applications
install(FILES ${OTB_APPS_LIST}
......
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