mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 04:49:04 +08:00
[WIP][vtk] add the option -DModule_vtkGUISupportMFC=ON (#4661)
* Update portfile.cmake * [vtk] Only enable Module_vtkGUISupportMFC for Windows. Require atlmfc on Windows.
This commit is contained in:
parent
2fc5b2815e
commit
aed7d2e214
@ -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
|
||||
|
@ -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}
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user