Commit cf6c6561 authored by Ben Boeckel's avatar Ben Boeckel

unix: refactor library paths

parent 8d05cf2d
set(library_paths
"paraview-${paraview_version}"
"cmb-${cmb_version}")
set(plugins)
foreach (executable IN LISTS paraview_executables cmb_programs_to_install)
superbuild_unix_install_program("${executable}"
"paraview-${paraview_version};cmb-${cmb_version}")
"${library_paths}")
list(APPEND plugins
${cmb_plugins_${executable}})
endforeach ()
......@@ -11,7 +15,7 @@ list(REMOVE_DUPLICATES plugins)
foreach (plugin IN LISTS plugins)
superbuild_unix_install_plugin("lib${plugin}.so"
"cmb-${cmb_version}"
";paraview-${paraview_version};cmb-${cmb_version}"
";${library_paths}"
"cmb-${cmb_version}/plugins/")
endforeach ()
......@@ -36,8 +40,7 @@ superbuild_unix_install_python(
"${superbuild_install_location}/lib/python2.7/site-packages"
"${superbuild_install_location}/lib/paraview-${paraview_version}/site-packages"
SEARCH_DIRECTORIES
"cmb-${cmb_version}"
"paraview-${paraview_version}")
${library_paths})
superbuild_unix_install_python(
"${CMAKE_INSTALL_PREFIX}"
......
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