Commit 695cbc69 authored by Mark Olesen's avatar Mark Olesen

COMP: runTimePostProcessing build with VTP+MPI fails (#1231)

- incorrectly uses paraview include dirs instead of the more universal
  vtk include dirs for the MPI test.
parent ee4c3cb7
......@@ -27,7 +27,7 @@ file(WRITE ${test_file}
try_compile(FOAM_USING_VTK_MPI
${CMAKE_CURRENT_BINARY_DIR} ${test_file}
LINK_LIBRARIES vtkParallelMPI
CMAKE_FLAGS "-DINCLUDE_DIRECTORIES=${PARAVIEW_INCLUDE_DIRS}"
CMAKE_FLAGS "-DINCLUDE_DIRECTORIES=${VTK_INCLUDE_DIRS}"
)
if (FOAM_USING_VTK_MPI)
add_definitions(-DFOAM_USING_VTK_MPI)
......
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