We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e1bfb5 commit 254a985Copy full SHA for 254a985
CMake/cdat_modules/vtk_external.cmake
@@ -17,9 +17,18 @@ list(APPEND vtk_build_args
17
-DVTK_USE_SYSTEM_HDF5:BOOL=ON
18
-DVTK_USE_SYSTEM_NETCDF:BOOL=ON
19
-DVTK_USE_SYSTEM_FREETYPE:BOOL=ON
20
- -DVTK_USE_SYSTEM_JPEG:BOOL=ON
21
- -DVTK_USE_SYSTEM_PNG:BOOL=ON
22
)
+if (APPLE)
+ list(APPEND vtk_build_args
23
+ -DVTK_USE_SYSTEM_PNG:BOOL=OFF
24
+ -DVTK_USE_SYSTEM_JPEG:BOOL=OFF
25
+ )
26
+else()
27
28
+ -DVTK_USE_SYSTEM_PNG:BOOL=ON
29
+ -DVTK_USE_SYSTEM_JPEG:BOOL=ON
30
31
+endif()
32
33
# Turn off testing and other non essential featues
34
list(APPEND vtk_build_args
0 commit comments