QGC does not work correctly when built with cmake on windows

OS: Windows 10
QT Version: 5.15.2
I tried to compile with both qmake and cmake on QGC Qt Creator.
When I compiled it with qmake, the codes compiled correctly. But when I try to compile with cmake it gives an error.
linux operating system is running. I think it’s the bottom part.

if (WIN32) # append application icon resource for Windows set(QGC_RESOURCES ${QGC_RESOURCES} **${CMAKE_CURRENT_SOURCE_DIR}/windows/QGroundControl.rc)** endif()

Since there is no such path, it gives an error in the add_executable part. When switching to the win operating system, this part is opened.

${CMAKE_CURRENT_SOURCE_DIR}/windows/QGroundControl.rc) path should be fixed to ${CMAKE_CURRENT_SOURCE_DIR}/deploy/windows/QGroundControl.rc) so that cmake will run

Although it doesn’t work as well as the result of compiling with qmake, at least cmake works on compiling.

Can this situation be controlled?

Feel free to make a pull request to fix what you find. I think the normal/supported way is qmake.