I build a Qt5-based GUI program on macOS 10.15.7 with CMake. I normally simply build a dynamically-linked executable with add_executable(). It looks fine:
add_executable()