From f7c88e927cdd9b487662f9ac0d52346e4008bc90 Mon Sep 17 00:00:00 2001 From: wmayer Date: Fri, 11 Nov 2016 16:45:55 +0100 Subject: [PATCH] use vtkParallelMPI only for Linux --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 72e7d738c..642bc5130 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -578,8 +578,8 @@ endif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") vtkFiltersSources vtkFiltersGeometry ) - # On Windows there might be no vtkParallelMPI package - if (NOT WIN32) + # On Linux vtkParallelMPI package is required + if (UNIX AND NOT APPLE) set (VTK_COMPONENTS ${VTK_COMPONENTS} vtkParallelMPI)