CMake: Make Gui and some other packages optional
This allows a no-error configuration of a -no-gui Qt build.
This results in skipping building qtquicktimeline when Gui / Quick
are not available. qmake does the same.
Task-number: QTBUG-88343
Change-Id: I7653ce5f676cf16de0257b2f2328e2ce32abc454
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
| commit | b7267cf15f9bf2640292e4f7b40ccbdca9959296 |
| parent | 3b0b39792cf6630435b3218d88021f143f937b2a |
| author | Alexandru Croitor <alexandru.croitor@qt.io> |
| committer | Alexandru Croitor <alexandru.croitor@qt.io> |
| commit time | Tue, 10 Nov 2020 14:45:18 +0100 |