Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Main Repositories
otb
Commits
ee25691a
Commit
ee25691a
authored
Sep 07, 2016
by
Rashad Kanavath
Browse files
PKG: filter out directories when checking for .so
parent
20139bd8
Changes
1
Hide whitespace changes
Inline
Side-by-side
SuperBuild/Packaging/PackageHelper.cmake
View file @
ee25691a
...
...
@@ -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
#install(FILES "${sofile}" DESTINATION ${PKG_STAGE_DIR}/lib MESSAGE_NEVER)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment