forked from microsoft/vcpkg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[vtk] reenable patch to disable a FindHDF5 workaround
- Loading branch information
1 parent
eb5b7e1
commit 614218c
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- 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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters