mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-16 13:39:02 +08:00
22 lines
766 B
Diff
22 lines
766 B
Diff
--- a/CMake/vtkModuleMacros.cmake Mon Jun 26 15:29:04 2017
|
|
+++ b/CMake/vtkModuleMacros.cmake Tue Aug 08 17:54:03 2017
|
|
@@ -893,18 +893,6 @@
|
|
set(vtk${_lower}_LIBRARIES "${${_upper_pkg_name}_LIBRARIES}")
|
|
endif()
|
|
|
|
- #a workaround for bad FindHDF5 behavior in which deb or opt can
|
|
- #end up empty. cmake >= 2.8.12.2 makes this unnecessary
|
|
- string(REGEX MATCH "debug;.*optimized;.*"
|
|
- _remove_deb_opt "${vtk${_lower}_LIBRARIES}")
|
|
- if (_remove_deb_opt)
|
|
- set(_tmp ${vtk${_lower}_LIBRARIES})
|
|
- list(REMOVE_ITEM _tmp "debug")
|
|
- list(REMOVE_ITEM _tmp "optimized")
|
|
- list(REMOVE_DUPLICATES _tmp)
|
|
- set(vtk${_lower}_LIBRARIES ${_tmp})
|
|
- endif()
|
|
-
|
|
set(vtk${_lower}_INCLUDE_DIRS "")
|
|
else()
|
|
if(_nolibs)
|