Skip to content

Commit

Permalink
COMP: Fix linking of GenParaMeshCLPTest against ITK with custom names…
Browse files Browse the repository at this point in the history
…pace

This commit fixes regressions introduced in Slicer/Slicer@8f67453b0 (ENH: Add
support for importing "itk" from python wheels installed from PyPI).

It addresses link errors like the following by adding missing includes:

  CMakeFiles/GenParaMeshCLPTest.dir/vtkTest.cxx.o:vtkTest.cxx:
  itk::(anonymous namespace)::TransformIOFactoryRegisterRegisterList:
  error: undefined reference to 'itk::HDF5TransformIOFactoryRegister__Private()'
  • Loading branch information
jcfr committed Oct 25, 2022
1 parent c9c269e commit 85643e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Testing/itkImageIOFactoryRegisterManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
#ifndef itkImageIOFactoryRegisterManager_h
#define itkImageIOFactoryRegisterManager_h

#include "itkConfigure.h"

namespace itk {

class ImageIOFactoryRegisterManager
Expand Down
2 changes: 2 additions & 0 deletions Testing/itkTransformIOFactoryRegisterManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
#ifndef itkTransformIOFactoryRegisterManager_h
#define itkTransformIOFactoryRegisterManager_h

#include "itkConfigure.h"

namespace itk {

class TransformIOFactoryRegisterManager
Expand Down

0 comments on commit 85643e5

Please sign in to comment.