diff --git a/ports/vtk/CONTROL b/ports/vtk/CONTROL index 7bd4d5b3d9..0d489e677a 100644 --- a/ports/vtk/CONTROL +++ b/ports/vtk/CONTROL @@ -1,7 +1,7 @@ Source: vtk -Version: 8.2.0-1 +Version: 8.2.0-2 Description: Software system for 3D computer graphics, image processing, and visualization -Build-Depends: zlib, libpng, tiff, libxml2, jsoncpp, glew, freetype, expat, hdf5, libjpeg-turbo, proj4, lz4, libtheora +Build-Depends: zlib, libpng, tiff, libxml2, jsoncpp, glew, freetype, expat, hdf5, libjpeg-turbo, proj4, lz4, libtheora, atlmfc (windows) Feature: openvr Description: OpenVR functionality for VTK diff --git a/ports/vtk/portfile.cmake b/ports/vtk/portfile.cmake index 06773528ee..baff2cb06c 100644 --- a/ports/vtk/portfile.cmake +++ b/ports/vtk/portfile.cmake @@ -115,6 +115,12 @@ if(VTK_WITH_ALL_MODULES) ) endif() +if(NOT VCPKG_CMAKE_SYSTEM_NAME) + set(Module_vtkGUISupportMFC ON) +else() + set(Module_vtkGUISupportMFC OFF) +endif() + # ============================================================================= # Configure & Install if(${VCPKG_LIBRARY_LINKAGE} MATCHES "static") @@ -154,6 +160,7 @@ vcpkg_configure_cmake( -DVTK_INSTALL_PACKAGE_DIR=share/vtk -DVTK_INSTALL_RUNTIME_DIR=bin -DVTK_FORBID_DOWNLOADS=ON + -DModule_vtkGUISupportMFC=${Module_vtkGUISupportMFC} ${ADDITIONAL_OPTIONS} )