Can h4fc and h5pfc be built with CMake?

I made a GitHub issue about this but I thought I’d ask here. Namely, can you ever get h4fc from the CMake build of hdf4? I see some CMake code for h4cc:

if (NOT WIN32)
  set (_PKG_CONFIG_COMPILER ${CMAKE_C_COMPILER})
  configure_file (
      ${HDF_RESOURCES_DIR}/libh4cc.in
      ${HDF4_BINARY_DIR}/CMakeFiles/h4cc
      @ONLY
  )
  install (
      FILES ${HDF4_BINARY_DIR}/CMakeFiles/h4cc
      DESTINATION ${HDF4_INSTALL_BIN_DIR}
      PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
      COMPONENT libraries
  )
endif ()

but none for h4fc. Is there some flag I’m not passing to CMake? I do get, say, libmfhdf_fortran.a in my install dir, so I think I’ve enabled Fortran support.

More info. I tried building HDF5 with CMake and even after moving up to develop, I find I can’t build h5pfc. I do see h5fc and h5pcc but the parallel Fortran wrapper is not-to-be-found. :frowning:

there is no need for a parallel version, because h5fc will use the same compiler as used to build the library.

Interesting. But h5cc/h5pcc does not do that?

Actually they are the same, but because of legacy usage, we created a second version. I suppose if it is needed we can do the same for h5fc. A bit redundant though.

Allen