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

package.json: configure the version number

Fixes #16815.
parent b13508a5
No related branches found
No related tags found
No related merge requests found
......@@ -399,6 +399,10 @@ cmake_dependent_option(PARAVIEW_ENABLE_WEB "Enable/Disable web support" "${parav
mark_as_advanced(PARAVIEW_ENABLE_WEB)
if (PARAVIEW_ENABLE_WEB)
configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/package.json.in"
"${CMAKE_CURRENT_BINARY_DIR}/package.json"
@ONLY)
# Request vtkParaViewWeb module
list(APPEND vtkParaViewWeb_REQUEST_BY "Option PARAVIEW_ENABLE_WEB")
endif()
......
{
"name" : "paraview",
"version" : "5.3",
"version" : "@PARAVIEW_VERSION@",
"description" : "Data analysis and visualization framework for large data.",
"author" : "Kitware Inc.",
"repository" : {
......
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