diff options
author | Juha Vuolle <juha.vuolle@qt.io> | 2025-05-08 08:55:36 +0300 |
---|---|---|
committer | Juha Vuolle <juha.vuolle@qt.io> | 2025-05-09 07:41:47 +0300 |
commit | 03b888d8150027c6e6d048c9272c587070559325 (patch) | |
tree | 8ce8df9f047b0cb990b0bc84b4d899b7b110fed4 | |
parent | 1a523a418915d1512f515e165c88541539e92bff (diff) |
Qt lite configurations may disable 'localserver' feature, in which case
the remoteobject library isn't built. In this case the remoteobjectsqml
shouldn't be built either.
Fixes: QTBUG-136671
Change-Id: If0636df13be2486cf8c842135aa92c6069b77504
Reviewed-by: Brett Stottlemyer <brett.stottlemyer@gmail.com>
-rw-r--r-- | src/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 7f517ae..b66ea03 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -5,7 +5,7 @@ add_subdirectory(repparser) if(QT_FEATURE_localserver) add_subdirectory(remoteobjects) -endif() -if(TARGET Qt::Quick) - add_subdirectory(remoteobjectsqml) + if(TARGET Qt::Quick) + add_subdirectory(remoteobjectsqml) + endif() endif() |