aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralbertziegenhagel <albert.ziegenhagel@outlook.com>2017-02-16 08:10:54 +0100
committerGitHub <noreply@github.com>2017-02-16 08:10:54 +0100
commit30a8d6e73084a1379202fa88dc4293d3f9d4dbf3 (patch)
tree8d81fd4c6f981a222d728278f2d60a313429cdf6
parent8adfa34b08ac923adde20b7ea193a3e86004ab08 (diff)
downloadvcpkg-30a8d6e73084a1379202fa88dc4293d3f9d4dbf3.tar.gz
vcpkg-30a8d6e73084a1379202fa88dc4293d3f9d4dbf3.zip
Fixed some typos
-rw-r--r--ports/vtk/portfile.cmake7
1 files changed, 4 insertions, 3 deletions
diff --git a/ports/vtk/portfile.cmake b/ports/vtk/portfile.cmake
index e1a6e772b..89bda5db9 100644
--- a/ports/vtk/portfile.cmake
+++ b/ports/vtk/portfile.cmake
@@ -16,9 +16,10 @@ vcpkg_apply_patches(
)
if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
- # HACK: The FindHDF5.cmake script does not seam to detect the HDF5_DEFINITIONS correctly
- # if HDF5 has been built without the tools, so we set the BUILT_AS_DYNAMIC_LIB=1 flag
- # here explicitly because we now it has been build as dynamic in the current case.
+ # HACK: The FindHDF5.cmake script does not seem to detect the HDF5_DEFINITIONS correctly
+ # if HDF5 has been built without the tools (which is the case in the HDF5 port),
+ # so we set the BUILT_AS_DYNAMIC_LIB=1 flag here explicitly because we know HDF5
+ # has been build as dynamic library in the current case.
list(APPEND ADDITIONAL_OPTIONS "-DHDF5_DEFINITIONS=-DH5_BUILT_AS_DYNAMIC_LIB=1")
endif()