CMake: build HL examples when HL is enabled
Due to a bug in the CMake script, the Fortran high-level interface examples were not built even when the interface was enabled. This PR provides a fix for that.
Due to a bug in the CMake script, the Fortran high-level interface examples were not built even when the interface was enabled. This PR provides a fix for that.