Commit 0a8e687c authored by Ben Boeckel's avatar Ben Boeckel
Browse files

paraview: expose whether ParaView is static or not to the package

parent 94a238ef
......@@ -238,6 +238,12 @@ function (superbuild_add_packaging)
set(PARAVIEW_CATALYST_EDITION Full)
endif ()
if (BUILD_SHARED_LIBS_paraview STREQUAL "<same>")
set(paraview_is_shared "${BUILD_SHARED_LIBS}")
else ()
set(paraview_is_shared "${BUILD_SHARED_LIBS_paraview}")
endif ()
include(paraview.suffix)
list(APPEND superbuild_export_variables
mesa_USE_SWR
......@@ -245,7 +251,8 @@ function (superbuild_add_packaging)
nvidiaindex_SOURCE_SELECTION
PARAVIEW_DEFAULT_SYSTEM_GL
PARAVIEW_PACKAGE_SUFFIX
PARAVIEW_CATALYST_EDITION)
PARAVIEW_CATALYST_EDITION
paraview_is_shared)
if (paraview_enabled)
set(PARAVIEW_PACKAGE_FILE_NAME ""
......
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