Commit ee25691a authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

PKG: filter out directories when checking for .so

parent 20139bd8
......@@ -751,7 +751,7 @@ function(func_process_deps infile)
# message("${sofile} is a symlink to ${linked_to_file}")
else() # is_symlink
if(NOT "${basename_of_sofile}" MATCHES "otbapp_")
if( EXISTS ${SEARCHDIR}/${sofile} )
if( NOT IS_DIRECTORY ${sofile} )
file(APPEND ${CMAKE_BINARY_DIR}/install_to_${DEST_LIB_DIR} "${sofile}\n")
#just install the so file to <staging-dir>/lib
Supports Markdown
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