When trying to build OpenCASCADE 7.4.0 using CMake (and VS2019 x64) with just the modules below I encounter a compilation error in the TKernel project.
The error is '...src\Quantity\Quantity_ColorRGBA.cxx(18,10): fatal error C1083: Cannot open include file: 'Graphic3d_Vec4.hxx': No such file or directory.'
I manged to get around the issue by patching the file. I changed Graphic3d_Vec4 to NCollection_Vec4<float>. I've attached a patch file for reference.
Concerning the issue you have encountered - it has been already corrected within current development branch.
Although you may find problem in release version, patches are always expected to be relative to master (development) branch.