TARGET_LINK_LIBRARIES(${pfx}BaseObjects ${ITK_LIBRARIES} ${VTK_LIBRARIES})
TARGET_LINK_LIBRARIES(${pfx}BaseImages ${pfx}BaseObjects)
TARGET_LINK_LIBRARIES(${pfx}Mesh ${pfx}BaseObjects)
-TARGET_LINK_LIBRARIES(${pfx}Paths ${pfx}BaseObjects)
+TARGET_LINK_LIBRARIES(${pfx}Paths ${pfx}BaseObjects ${pfx}BaseImages)
TARGET_LINK_LIBRARIES(${pfx}Transforms ${pfx}BaseObjects)
TARGET_LINK_LIBRARIES(${pfx}ScalarImages ${pfx}BaseImages)
TARGET_LINK_LIBRARIES(${pfx}ColorImages ${pfx}BaseImages)