After changes to a CMakeLists.txt an LGTM.com run on the PR failed, but all other GitHub CI runs succeeded.
The execute_process commands are needed to query qmake for QT_INSTALL_PREFIX and QT_INSTALL_PLUGINS but they do not populate the CMake variables. The build log at line 577 shows that.
See here for additional information (build logs etc.).