Problem 2600 - Build of G4visVtk fails for static-only builds
Summary: Build of G4visVtk fails for static-only builds
Status: CLOSED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: cmake (show other problems)
Version: 11.2
Hardware: All All
: P4 minor
Assignee: Ben Morgan
URL:
Depends on:
Blocks:
 
Reported: 2024-03-17 18:20 CET by Ben Morgan
Modified: 2024-04-23 15:25 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description Ben Morgan 2024-03-17 18:20:02 CET
Initially reported on the forum here: https://geant4-forum.web.cern.ch/t/vtk-build-error/11907

This seems to be due to the call to `vtk_module_autoinit` in `source/CMakeLists.txt` only using the shared target name and not checking for the shared/static configuration. Needs to be triaged to this and then fix should be fairly straightforward.
Comment 1 Ben Morgan 2024-04-23 15:25:20 CEST
Resolved upstream, will be in June beta and any patches.