diff --git a/SuperBuild/CMake/PackageHelper.cmake b/SuperBuild/CMake/PackageHelper.cmake index 6da1baa6967705c300a7cd78ecf2fecdf3e939fe..3a55f60e53a9d7df0a27d3363450711156f7f5b1 100644 --- a/SuperBuild/CMake/PackageHelper.cmake +++ b/SuperBuild/CMake/PackageHelper.cmake @@ -642,8 +642,10 @@ function(process_deps infile) message(STATUS "Processing ${SEARCHDIR}/${infile}") is_file_executable("${SEARCHDIR}/${infile}" is_executable) if(is_executable) + if(NOT "${infile}" MATCHES "otbapp_") install(PROGRAMS "${SEARCHDIR}/${infile}" DESTINATION ${PKG_STAGE_DIR}/bin) + endif() else(is_executable) get_filename_component(bn_we ${infile} NAME_WE) file(GLOB sofiles "${SEARCHDIR}/${bn_we}*")