Commit 95a790d8 authored by Mathieu Malaterre's avatar Mathieu Malaterre
Browse files

ENH: Add blockers in case vtkRendering is not built

parent 719edd0d
......@@ -189,10 +189,13 @@ IF(JAVA_COMPILE)
SET(SEPARATOR ":")
ENDIF(WIN32)
ADD_TEST(JavaRegression ${JAVA_RUNTIME}
-classpath ${LIBRARY_OUTPUT_PATH}/vtk.jar${SEPARATOR}${VTK_BINARY_DIR}/Wrapping/Java
Regression -D ${VTK_DATA_ROOT}
-V Baseline/Graphics/Cone.png)
# Since vtkTesting is within vtkRendering we need blockers
IF(VTK_USE_RENDERING)
ADD_TEST(JavaRegression ${JAVA_RUNTIME}
-classpath ${LIBRARY_OUTPUT_PATH}/vtk.jar${SEPARATOR}${VTK_BINARY_DIR}/Wrapping/Java
Regression -D ${VTK_DATA_ROOT}
-V Baseline/Graphics/Cone.png)
ENDIF(VTK_USE_RENDERING)
ENDIF(BUILD_TESTING)
ADD_CUSTOM_COMMAND(
......
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