Commit e1bddcb2 authored by Rashad Kanavath's avatar Rashad Kanavath

BUG: regex not include otb*sentinel1*Test

parent 4b9caca2
......@@ -14,7 +14,7 @@ function(install_rule src_file)
string(TOLOWER "${sfile_ABS}" sfile_ABS_LOWER)
set(install_type)
set(install_dir)
if ("${sfile_NAME_LOWER}" MATCHES "^(otb|mvd)([a-z]+)(test)*.*" )
if ("${sfile_NAME_LOWER}" MATCHES "^(otb|mvd)([a-z0-9]+)test*.*" )
if(PKG_DEBUG)
message("SKIP INSTALL for ${sfile_NAME_LOWER}")
endif()
......
......@@ -94,8 +94,8 @@ function(prepare_file_list file_list_result)
list(APPEND file_list "proj.dll")
endif()
set(OTB_APPLICATIONS_DIR "${SUPERBUILD_INSTALL_DIR}/lib/otb/applications")
file(GLOB OTB_APPS_LIST "${OTB_APPLICATIONS_DIR}/otbapp_*${LIB_EXT}") # /lib/otb
set(otb_applications_dir "${SUPERBUILD_INSTALL_DIR}/lib/otb/applications")
file(GLOB OTB_APPS_LIST "${otb_applications_dir}/otbapp_*${LIB_EXT}") # /lib/otb
list(APPEND file_list ${OTB_APPS_LIST})
......
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