• Adriaan de Groot's avatar
    CMake: optionally disable QML · 47979555
    Adriaan de Groot authored
    This makes it possible to remove QML from Calamares, possibly yielding
    a smaller, lighter installer; it takes with it the nice slideshow,
    modern configurable navigation and the QML UIs built for various modules.
    
    By default, WITH_QML is on and the "normal" feature set is retained.
    
    - look for Qml modules only when WITH_QML is on (the default)
    - look for Network, since that's pulled in only implicitly
    - disable the QML Calamares models (modules/*q) if no QML is
      enabled; longer-term plan is to merge the **pages** back to
      the "upstream" modules, and have things be run-time switchable,
      but that's not here yet. Also disable the notesqml module when
      QML is off.
    47979555