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

PKG: prevent installing otbapp* into bin/ even if they are executable dlls

parent 232d0548
No related branches found
No related tags found
No related merge requests found
......@@ -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}*")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment