mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-05 08:49:01 +08:00
3e2409f47d
* [vtk-m] new port vtk-m * [VTK] Update to 9.0 * include local buildtree changes * [pcl] disable VTK due to API changes in VTK 9.0 * [vtk-m] add supports field to be only x64 * [vtk-dicom] add python executable. * fix vtkm dependency * [vtk-dicom] fix missing std:: namespace * [vtk-m] add uwp to unsupported triplets * [vtk] add pegtl include patch, reenable IOMotionFX * remove hdf5 changes for testing * use different pgetl patch which redirects to the installed config of pegtl * [pegtl-2] version file needs renaming too * [vtk] change dependency to pgetl-2 and fix the patch * [vtk] put in hdf5 fix again and correct manually installed include files * remove deprecated function to retrigger CI * [lz4] correctly lowercase the lz4 config * [vtk] remove unnecessary code * [pegtl-2] add homepage * [pegtl] modernize portfiles * [vtk-dicom] add homepage * [vtk-dicom] modernize portfile * [vtk-m] remove empty build depends * [vtk] try fixing the permission issue * bump control * Update FindHDF5.cmake * Update pegtl.patch * Update ports/vtk/pegtl.patch Co-authored-by: nicole mazzuca <mazzucan@outlook.com> * [vtk] refactor portfile, added a few deps on [core] and added feature cuda * [vtk] pegtl.patch: Add additional found message * [vtk-m] add more documentation comments * [vtk] fix string replacement Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
24 lines
1.1 KiB
CMake
24 lines
1.1 KiB
CMake
#The original VTK file is overdoing it and still prdouces errors that the target hdf5::hdf5_hl-shared cannot be found in dynamic builds
|
|
find_package(hdf5 QUIET NO_MODULE)
|
|
if(TARGET hdf5::hdf5-shared)
|
|
set_target_properties(hdf5::hdf5-shared PROPERTIES IMPORTED_GLOBAL TRUE)
|
|
add_library(hdf5::hdf5 ALIAS hdf5::hdf5-shared)
|
|
elseif(TARGET hdf5::hdf5-static)
|
|
set_target_properties(hdf5::hdf5-static PROPERTIES IMPORTED_GLOBAL TRUE)
|
|
add_library(hdf5::hdf5 ALIAS hdf5::hdf5-static)
|
|
else()
|
|
message(FATAL_ERROR "HDF5 target not found")
|
|
endif()
|
|
if(TARGET hdf5::hdf5_hl-shared)
|
|
set_target_properties(hdf5::hdf5_hl-shared PROPERTIES IMPORTED_GLOBAL TRUE)
|
|
add_library(hdf5::hdf5_hl ALIAS hdf5::hdf5_hl-shared)
|
|
elseif(TARGET hdf5::hdf5_hl-static)
|
|
set_target_properties(hdf5::hdf5_hl-static PROPERTIES IMPORTED_GLOBAL TRUE)
|
|
add_library(hdf5::hdf5_hl ALIAS hdf5::hdf5_hl-static)
|
|
else()
|
|
message(FATAL_ERROR "HDF5 HL target not found")
|
|
endif()
|
|
set(HDF5_IS_PARALLEL ${HDF5_ENABLE_PARALLEL} CACHE BOOL "" FORCE)
|
|
set(HDF5_FOUND ON CACHE BOOL "" FORCE)
|
|
set(hdf5_FOUND ON CACHE BOOL "" FORCE)
|