We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0e0d19 commit 6cd22d8Copy full SHA for 6cd22d8
1 file changed
CMakeLists.txt
@@ -66,6 +66,11 @@ else()
66
message(STATUS "OpenMP not found — building in single-threaded mode.")
67
endif()
68
69
+if (WIN32 AND MSVC AND DEFINED ENV{HDF5_DIR})
70
+ set(HDF5_ROOT "$ENV{HDF5_DIR}")
71
+ set(CMAKE_PREFIX_PATH "${HDF5_ROOT};${CMAKE_PREFIX_PATH}")
72
+endif()
73
+
74
# ============================
75
# HDF5 (raw C API)
76
0 commit comments