Commit c854dea0 authored by John Tourtellott's avatar John Tourtellott Committed by Kitware Robot
Browse files

Merge topic 'linux-install-location'

03af4e5a

 Fix install logic for unix packages
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Acked-by: Ben Boeckel's avatarBen Boeckel <ben.boeckel@kitware.com>
Merge-request: !718
parents 7f44a1d0 03af4e5a
Pipeline #208740 failed with stages
......@@ -36,7 +36,12 @@ foreach (plugin_file IN LISTS all_plugin_files)
# Get a list of plugins from this plugin file that need to be installed.
get_filename_component(plugin_file_dir "${plugin_file}" DIRECTORY)
foreach (plugin IN LISTS "plugins_${plugin_file}")
superbuild_unix_install_plugin("${plugin}.so"
# XXX(plugin): This should be `superbuild_unix_install_plugin`, but the binaries in
# the CMB packages tend to link to no libraries which mean that no libraries get
# installed to the main `lib` directory and the plugins then copy all of the libraries
# into the plugin directory. Some way is needed to find the common libraries and keep
# them in the `lib` directory should be found.
superbuild_unix_install_module("${plugin}.so"
"lib"
"${plugin_file_dir}/${plugin}/"
SEARCH_DIRECTORIES "${library_paths}"
......
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