diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2017-02-16 22:53:28 -0800 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2017-02-16 22:53:28 -0800 |
| commit | 5d873f0520092cbc5c2161e4cd093eef24a7f1cf (patch) | |
| tree | ab58306fd04b1b5212337340c85066de8067c68d | |
| parent | 357591471820647436f2d37fc8b53912bc3f8228 (diff) | |
| download | vcpkg-5d873f0520092cbc5c2161e4cd093eef24a7f1cf.tar.gz vcpkg-5d873f0520092cbc5c2161e4cd093eef24a7f1cf.zip | |
[hdf5] Fix #673 by explicitly specifying the szip libraries
| -rw-r--r-- | ports/hdf5/portfile.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ports/hdf5/portfile.cmake b/ports/hdf5/portfile.cmake index 5c421f0c6..f54543418 100644 --- a/ports/hdf5/portfile.cmake +++ b/ports/hdf5/portfile.cmake @@ -30,6 +30,9 @@ vcpkg_configure_cmake( -DHDF5_ENABLE_SZIP_ENCODING=ON -DHDF5_INSTALL_DATA_DIR=share/hdf5/data -DHDF5_INSTALL_CMAKE_DIR=share/hdf5 + "-DSZIP_LIBRARY_DEBUG=${CURRENT_INSTALLED_DIR}\\debug\\lib\\szip_D.lib" + "-DSZIP_LIBRARY_RELEASE=${CURRENT_INSTALLED_DIR}\\lib\\szip.lib" + "-DSZIP_INCLUDE_DIR=${CURRENT_INSTALLED_DIR}\\include" ) vcpkg_install_cmake() |
