passing flag SUPERBUILD_ALLOW_DEBUG:BOOL=ON would fail the build on windows
If we are doing a debug superbuild on Windows, hdf5 would be built in debug mode. Then when building netcdf, it would complains that it cannot find hdf5.lib
in ${CMB_SUPERBUILD_DIR}/install/lib, which now is hdf5_D.lib
.
Tested on Kerbin.