We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e12390f commit 99a2c2aCopy full SHA for 99a2c2a
1 file changed
CMakeLists.txt
@@ -356,8 +356,8 @@ set(HDF5_ENABLE_SZIP_SUPPORT OFF)
356
357
add_subdirectory(${CMAKE_SOURCE_DIR}/gitmodules/hdf5)
358
359
-if (WIN32)
360
- target_compile_definitions(hdf5-static PRIVATE _GNU_SOURCE)
+if (MINGW)
+ target_compile_definitions(hdf5-static PRIVATE HAVE_VASPRINTF)
361
endif()
362
363
foreach(file ${hdf5_GENERATED_HEADERS})
0 commit comments