Commit 9520b2eb authored by David Partyka's avatar David Partyka

Load vtkTestingObjectFactory from module path instead of full file path.

Change-Id: I087c80d66752263176af2457c4463f359a9d376a
parent 08506ec2
......@@ -16,7 +16,7 @@ TARGET_LINK_LIBRARIES(ParticleReader vtkHybrid)
SET(KIT IOExamples)
SET(MyTests TestDumpXMLFile.cxx TestParticleReader.cxx)
INCLUDE(${VTK_SOURCE_DIR}/Rendering/vtkTestingObjectFactory.cmake)
INCLUDE(vtkTestingObjectFactory)
ADD_EXECUTABLE(${KIT}CxxTests ${KIT}CxxTests.cxx
${MyTests})
......
......@@ -15,7 +15,7 @@ TARGET_LINK_LIBRARIES(ImageSlicing vtkRendering vtkImaging vtkIO)
SET(KIT ImageProcessingExamples)
SET(MyTests TestImageSlicing.cxx)
INCLUDE(${VTK_SOURCE_DIR}/Rendering/vtkTestingObjectFactory.cmake)
INCLUDE(vtkTestingObjectFactory)
ADD_EXECUTABLE(${KIT}CxxTests ${KIT}CxxTests.cxx
${MyTests})
TARGET_LINK_LIBRARIES(${KIT}CxxTests vtkRendering vtkIO)
......
......@@ -29,7 +29,7 @@ ENDIF(VTK_USE_METAIO)
SET(KIT MedicalExamples)
SET(MyTests TestMedical1.cxx TestMedical2.cxx TestMedical3.cxx TestMedical4.cxx)
INCLUDE(${VTK_SOURCE_DIR}/Rendering/vtkTestingObjectFactory.cmake)
INCLUDE(vtkTestingObjectFactory)
ADD_EXECUTABLE(${KIT}CxxTests ${KIT}CxxTests.cxx
${MyTests})
TARGET_LINK_LIBRARIES(${KIT}CxxTests vtkRendering vtkWidgets vtkVolumeRendering)
......
......@@ -21,7 +21,7 @@ TARGET_LINK_LIBRARIES(Delaunay3DAlpha vtkHybrid)
SET(KIT ModellingExamples)
SET(MyTests TestFinance.cxx TestDelaunay3D.cxx TestDelaunay3DAlpha.cxx)
INCLUDE(${VTK_SOURCE_DIR}/Rendering/vtkTestingObjectFactory.cmake)
INCLUDE(vtkTestingObjectFactory)
ADD_EXECUTABLE(${KIT}CxxTests ${KIT}CxxTests.cxx
${MyTests})
......
......@@ -24,7 +24,7 @@ SET(MyTests
TestBandedContours.cxx
)
INCLUDE(${VTK_SOURCE_DIR}/Rendering/vtkTestingObjectFactory.cmake)
INCLUDE(vtkTestingObjectFactory)
ADD_EXECUTABLE(${KIT}CxxTests ${KIT}CxxTests.cxx
${MyTests})
TARGET_LINK_LIBRARIES(${KIT}CxxTests vtkHybrid)
......
......@@ -21,7 +21,7 @@ TARGET_LINK_LIBRARIES(BalloonWidget vtkRendering vtkWidgets)
SET(KIT WidgetsExamples)
SET(MyTests TestSlider.cxx TestSlider2D.cxx TestBalloonWidget.cxx)
INCLUDE(${VTK_SOURCE_DIR}/Rendering/vtkTestingObjectFactory.cmake)
INCLUDE(vtkTestingObjectFactory)
ADD_EXECUTABLE(${KIT}CxxTests ${KIT}CxxTests.cxx
${MyTests})
......
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