Commit 54377ea1 authored by Sankhesh Jhaveri's avatar Sankhesh Jhaveri 💬
Browse files

Fix MFC examples link errors

The projects were linking to old VTK libraries. Updated to modular
libraries.
parent 9fbc01f6
......@@ -39,4 +39,4 @@ IF(VTK_MFC_EXTRA_LIBS)
TARGET_LINK_LIBRARIES(Win32SampleMFC ${VTK_MFC_EXTRA_LIBS})
ENDIF()
TARGET_LINK_LIBRARIES(Win32SampleMFC vtkRendering)
TARGET_LINK_LIBRARIES(Win32SampleMFC ${VTK_LIBRARIES})
......@@ -26,4 +26,4 @@ IF(VTK_MFC_EXTRA_LIBS)
TARGET_LINK_LIBRARIES(vtkDLG ${VTK_MFC_EXTRA_LIBS})
ENDIF()
TARGET_LINK_LIBRARIES(vtkDLG vtkMFC)
TARGET_LINK_LIBRARIES(vtkDLG ${VTK_LIBRARIES})
......@@ -29,4 +29,4 @@ IF(VTK_MFC_EXTRA_LIBS)
TARGET_LINK_LIBRARIES(vtkMDI ${VTK_MFC_EXTRA_LIBS})
ENDIF()
TARGET_LINK_LIBRARIES(vtkMDI vtkMFC)
TARGET_LINK_LIBRARIES(vtkMDI ${VTK_LIBRARIES})
......@@ -28,4 +28,4 @@ IF(VTK_MFC_EXTRA_LIBS)
TARGET_LINK_LIBRARIES(vtkSDI ${VTK_MFC_EXTRA_LIBS})
ENDIF()
TARGET_LINK_LIBRARIES(vtkSDI vtkMFC)
TARGET_LINK_LIBRARIES(vtkSDI ${VTK_LIBRARIES})
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment