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

COMP: fatal error when the package can't be generated with applications

parent 7b74fb41
No related branches found
No related tags found
No related merge requests found
......@@ -45,10 +45,8 @@ endif(NOT GDAL_DATA)
# 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")
message(FATAL_ERROR "No OTB-applications detected")
endif()
# Install the applications
......
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