diff --git a/ProcessLib/LiquidFlow/Tests.cmake b/ProcessLib/LiquidFlow/Tests.cmake index 0c57ee4d60a65e1b23789e42eb5cca9b4245849e..c140ea7ae9af3c1e5ccfe974d4aeb957b17eed8a 100644 --- a/ProcessLib/LiquidFlow/Tests.cmake +++ b/ProcessLib/LiquidFlow/Tests.cmake @@ -437,7 +437,8 @@ AddTest( EXECUTABLE_ARGS FunctionParameterTest_XDMF.prj WRAPPER time TESTER xdmfdiff - REQUIREMENTS NOT OGS_USE_MPI + # See https://gitlab.opengeosys.org/ogs/ogs/-/merge_requests/3184#note_85104 + REQUIREMENTS NOT OGS_USE_MPI AND NOT COMPILER_IS_APPLE_CLANG DIFF_DATA square_5x5_tris_32_right_boundary_ts_0_t_0.000000.xdmf square_5x5_tris_32_right_boundary_ts_0_t_0.000000.xdmf pressure pressure 1e-7 1e-13 square_5x5_tris_32_right_boundary_ts_1_t_1.000000.xdmf square_5x5_tris_32_right_boundary_ts_1_t_1.000000.xdmf pressure pressure 1e-7 1e-13 diff --git a/scripts/cmake/Find.cmake b/scripts/cmake/Find.cmake index 9cf467f46263e6973fcb58d6adb4fd5d21d38337..e85d3a0ae5117b17ee09e335a5f1763a24fc3a40 100644 --- a/scripts/cmake/Find.cmake +++ b/scripts/cmake/Find.cmake @@ -80,6 +80,12 @@ else() find_package(VTK ${ogs.minimum_version.vtk} REQUIRED COMPONENTS ${VTK_COMPONENTS}) include(${VTK_USE_FILE}) endif() +include_directories(SYSTEM + # Xdmf: + ${VTK_INSTALL_PREFIX}/include + # libxml: + ${VTK_INSTALL_PREFIX}/include/vtk-${VTK_VERSION_MAJOR}.${VTK_VERSION_MINOR}/vtklibxml2 +) find_package(Eigen3 ${ogs.minimum_version.eigen} REQUIRED) include_directories(SYSTEM ${EIGEN3_INCLUDE_DIR})