summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2022-09-22 18:52:31 (GMT)
committerGitHub <noreply@github.com>2022-09-22 18:52:31 (GMT)
commit853a592d2db514f1403b4eab4ee6be2c0ed93da6 (patch)
tree98589a3ccfc8aa8de18ec2e7c48843cf06ebc81c /config
parent100b22e6c23c44a082fd69b8c05a63c7492083f7 (diff)
downloadhdf5-853a592d2db514f1403b4eab4ee6be2c0ed93da6.zip
hdf5-853a592d2db514f1403b4eab4ee6be2c0ed93da6.tar.gz
hdf5-853a592d2db514f1403b4eab4ee6be2c0ed93da6.tar.bz2
Add missing windows include/lib configure for StrStrIA (#2114)
Diffstat (limited to 'config')
-rw-r--r--config/cmake/ConfigureChecks.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/cmake/ConfigureChecks.cmake b/config/cmake/ConfigureChecks.cmake
index ee90128..3de4483 100644
--- a/config/cmake/ConfigureChecks.cmake
+++ b/config/cmake/ConfigureChecks.cmake
@@ -130,6 +130,9 @@ CHECK_INCLUDE_FILE_CONCAT ("dlfcn.h" ${HDF_PREFIX}_HAVE_DLFCN_H)
CHECK_INCLUDE_FILE_CONCAT ("netinet/in.h" ${HDF_PREFIX}_HAVE_NETINET_IN_H)
CHECK_INCLUDE_FILE_CONCAT ("netdb.h" ${HDF_PREFIX}_HAVE_NETDB_H)
CHECK_INCLUDE_FILE_CONCAT ("arpa/inet.h" ${HDF_PREFIX}_HAVE_ARPA_INET_H)
+if (WINDOWS)
+ CHECK_INCLUDE_FILE_CONCAT ("shlwapi.h" ${HDF_PREFIX}_HAVE_SHLWAPI_H)
+endif ()
## Check for non-standard extension quadmath.h
@@ -154,6 +157,10 @@ if (MINGW OR NOT WINDOWS)
CHECK_LIBRARY_EXISTS_CONCAT ("wsock32" gethostbyname ${HDF_PREFIX}_HAVE_LIBWSOCK32)
endif ()
+if (WINDOWS)
+ CHECK_LIBRARY_EXISTS_CONCAT ("shlwapi" StrStrIA ${HDF_PREFIX}_HAVE_SHLWAPI)
+endif ()
+
# UCB (BSD) compatibility library
CHECK_LIBRARY_EXISTS_CONCAT ("ucb" gethostname ${HDF_PREFIX}_HAVE_LIBUCB)