CMake: Fix .prl file generation


Work around QTBUG-89467 by re-ordering the add_subdirectory calls in
src/CMakeLists.txt.

The qmake project file looks correct. It's not entirely clear why
pro2cmake generated this particular call order. But by now it's not
worth fixing anymore. Also, the .prl file generation should not depend
on the order of add_subdirectory calls in the first place.

Fixes: QTBUG-89412
Pick-to: 6.0
Change-Id: I899608d8abe829e1b71ca9aa87734361947137f9
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
commit1f391d58e84a798e876d1c7d243a3c17566350ef
parent4ab9c25ba0238555ecb6b97b8fc3a3b7f912c2b0
authorJoerg Bornemann <joerg.bornemann@qt.io>
committerMike Krus <mike.krus@kdab.com>
commit timeTue, 15 Dec 2020 12:07:21 +0000