Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Weilbach <felix.weilbach@nextcloud.com>2021-06-24 10:54:54 +0300
committerFelix Weilbach (Rebase PR Action) <felix.weilbach@t-online.de>2021-06-24 18:43:51 +0300
commit40065dc6dc58d9683b1d54ebd786cd82e3fe9dcd (patch)
treea1c0bda80537bde792ba5c9093d2f0179c1506d3 /src/gui/CMakeLists.txt
parent991f79c123f2b0f6bb6545e8dbfbcb523e81f871 (diff)
Disable QtWebEngine automatic if not found
Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
Diffstat (limited to 'src/gui/CMakeLists.txt')
-rw-r--r--src/gui/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/CMakeLists.txt b/src/gui/CMakeLists.txt
index 581863ba7..6b04723c2 100644
--- a/src/gui/CMakeLists.txt
+++ b/src/gui/CMakeLists.txt
@@ -134,7 +134,7 @@ set(client_SRCS
wizard/linklabel.cpp
)
-if (WITH_WEBENGINE)
+if (Qt5WebEngine_FOUND AND Qt5WebEngineWidgets_FOUND)
list(APPEND client_SRCS
wizard/webviewpage.cpp
wizard/webview.cpp
@@ -337,7 +337,7 @@ target_link_libraries(nextcloudCore
${synclib_NAME}
)
-if(WITH_WEBENGINE)
+if(Qt5WebEngine_FOUND AND Qt5WebEngineWidgets_FOUND)
target_link_libraries(nextcloudCore PUBLIC Qt5::WebEngineWidgets)
endif()