Enable all VTK components available on macOS

Fixes #2919
This commit is contained in:
Bruce B. Lacey 2017-02-24 08:39:40 -08:00 committed by Yorik van Havre
parent aab99ad968
commit 9d4f8fadf6

View File

@ -602,7 +602,7 @@ endif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
)
# check which modules are available
if(UNIX AND NOT APPLE)
if(UNIX)
find_package(VTK COMPONENTS vtkCommonCore REQUIRED NO_MODULE)
list(APPEND VTK_COMPONENTS vtkIOMPIParallel vtkParallelMPI vtkhdf5)
foreach(_module ${VTK_COMPONENTS})