Skip to content

Commit

Permalink
Fixed some typos
Browse files Browse the repository at this point in the history
  • Loading branch information
albertziegenhagel authored Feb 16, 2017
1 parent 8adfa34 commit 30a8d6e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ports/vtk/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 30a8d6e

Please sign in to comment.