Skip to content

Commit 30c85da

Browse files
committed
[arcane,config] Add condition polyhedral tests only if vtkIOLegacy is present.
1 parent 824e202 commit 30c85da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arcane/src/arcane/tests/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
set(TEST_DIRS . anyitem dof inout)
1+
set(TEST_DIRS . anyitem dof inout)
22

33
set(TEST_LIBS ${ARCANE_ADDITIONNAL_TEST_LIBRARIES})
44
if(MPI_FOUND AND NOT WIN32)
@@ -560,7 +560,7 @@ if(HDF5_FOUND)
560560
endif()
561561
if(vtkIOXML_FOUND)
562562
ARCANE_ADD_TEST_SEQUENTIAL(vtk_vtu testMesh-format_vtu.arc)
563-
if (Neo_FOUND)
563+
if (vtkIO_Legacy AND Neo_FOUND)
564564
arcane_add_test_sequential(polyhedral_vtk1 testMeshPolyhedral-1.arc)
565565
arcane_add_test_sequential(polyhedral_vtk2 testMeshPolyhedral-2.arc)
566566
arcane_add_test_sequential(polyhedral_vtk3 testMeshPolyhedral-3.arc)

0 commit comments

Comments
 (0)