mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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.
This commit is contained in:
committed by
Andrew Heather
parent
5d445f4ed6
commit
7a5e72978a
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user