From 9d4f8fadf60abf6a02893008eb22cc42fe1722c6 Mon Sep 17 00:00:00 2001 From: "Bruce B. Lacey" Date: Fri, 24 Feb 2017 08:39:40 -0800 Subject: [PATCH] Enable all VTK components available on macOS Fixes #2919 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 033ea4d54..5bd4c35ed 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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})