Skip to content
Snippets Groups Projects
Commit 5fbe4f59 authored by Ben Boeckel's avatar Ben Boeckel
Browse files

paraview.bundle: introduce `paraview_plugin_package_path`

This variable holds where in the package plugins should live.
parent 4a8630a1
No related branches found
No related tags found
1 merge request!1146paraview.bundle: introduce `paraview_plugin_package_path`
......@@ -4,6 +4,7 @@ set(paraview_data_dir "${paraview_appname}/Contents/examples")
set(paraview_translations_dir "${paraview_appname}/Contents/translations")
set(paraview_materials_dir "${paraview_appname}/Contents/materials")
set(paraview_plugin_path "lib/paraview-${paraview_version}/plugins")
set(paraview_plugin_package_path "${paraview_appname}/Contents/Plugins")
set(paraview_license_path "${paraview_appname}/Contents/Resources/licenses")
set(paraview_spdx_path "${paraview_appname}/Contents/Resources")
include(paraview.bundle.common)
......
......@@ -170,6 +170,9 @@ endfunction ()
set(plugin_file_dir
"${superbuild_install_location}/${paraview_plugin_path}/")
if (NOT DEFINED paraview_plugin_package_path)
set(paraview_plugin_package_path "${paraview_plugin_path}")
endif ()
if (EXISTS "${plugin_file_dir}/paraview.plugins.xml")
set(plugin_file
"${plugin_file_dir}/paraview.plugins.xml")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment