diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2017-11-10 00:31:46 -0800 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2017-11-10 00:31:46 -0800 |
| commit | f625230452b7b37adeb60c45622c817dfb68c362 (patch) | |
| tree | 508cb9217e63984dcdaae81d99796d44c511f719 /ports/vtk | |
| parent | 2c4d1dc17f0ddd9443447a9e671fcf8e5d9311f7 (diff) | |
| download | vcpkg-f625230452b7b37adeb60c45622c817dfb68c362.tar.gz vcpkg-f625230452b7b37adeb60c45622c817dfb68c362.zip | |
[pcl][vtk] fixup_cmake_targets. Fix vtk config files regression.
Diffstat (limited to 'ports/vtk')
| -rw-r--r-- | ports/vtk/CONTROL | 2 | ||||
| -rw-r--r-- | ports/vtk/FindHDF5.cmake | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ports/vtk/CONTROL b/ports/vtk/CONTROL index 7cd91a985..0131e72bb 100644 --- a/ports/vtk/CONTROL +++ b/ports/vtk/CONTROL @@ -1,5 +1,5 @@ Source: vtk -Version: 8.0.1-3 +Version: 8.0.1-4 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 diff --git a/ports/vtk/FindHDF5.cmake b/ports/vtk/FindHDF5.cmake index 55d007006..b4783c947 100644 --- a/ports/vtk/FindHDF5.cmake +++ b/ports/vtk/FindHDF5.cmake @@ -20,7 +20,7 @@ else() message(FATAL_ERROR "could not find target hdf5_hl-*")
endif()
-set(HDF5_LIBRARIES vtk::hdf5::hdf5 vtk::hdf5::hdf5_hl)
+set(HDF5_LIBRARIES "$<BUILD_INTERFACE:$<$<NOT:$<STREQUAL:\${UNUSED_VARIABLE_NAME_GOES_HERE_VTK},>>:vtk::hdf5::hdf5>>" "$<BUILD_INTERFACE:$<$<NOT:$<STREQUAL:\${UNUSED_VARIABLE_NAME_GOES_HERE_VTK},>>:vtk::hdf5::hdf5_hl>>")
find_package_handle_standard_args(HDF5
REQUIRED_VARS HDF5_INCLUDE_DIRS HDF5_LIBRARIES
|
