Skip to content

Commit 7a0509d

Browse files
hjmjohnsonSunderlandkyl
authored andcommitted
Declare the VTK ImagingStencil/ImagingHybrid modules used by PlusUsSimulator
PlusUsSimulator's sources include vtkPolyDataToImageStencil / vtkImageStencil (ImagingStencil) and vtkSampleFunction (ImagingHybrid) but the target only requested FiltersSources/FiltersFlowPaths/IOGeometry/IOXML. It happened to build only when another dependency transitively pulled those modules' include dirs; against a VTK where it does not, the headers are not found. Declare the modules explicitly.
1 parent 38a6842 commit 7a0509d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎src/PlusUsSimulator/CMakeLists.txt‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ SET(${PROJECT_NAME}_LIBS
2525
${PLUSLIB_VTK_PREFIX}FiltersFlowPaths
2626
${PLUSLIB_VTK_PREFIX}IOGeometry
2727
${PLUSLIB_VTK_PREFIX}IOXML
28+
29+
${PLUSLIB_VTK_PREFIX}ImagingStencil
30+
${PLUSLIB_VTK_PREFIX}ImagingHybrid
2831
)
2932
IF(PLUS_RENDERING_ENABLED)
3033
LIST(APPEND ${PROJECT_NAME}_LIBS

0 commit comments

Comments
 (0)