From 29cd58e62fc8f69d2637a3d0b75b9ec6bd7b6dfa Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Tue, 30 Jul 2024 20:50:51 -0400 Subject: [PATCH] Link to libQuotient only when BUILD_SYNC is enabled --- launcher/CMakeLists.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/launcher/CMakeLists.txt b/launcher/CMakeLists.txt index e45b59d..6baf8c8 100644 --- a/launcher/CMakeLists.txt +++ b/launcher/CMakeLists.txt @@ -162,8 +162,11 @@ target_link_libraries(astra PRIVATE KF6::Archive QCoro::Core QCoro::Network - QCoro::Qml - QuotientQt6) + QCoro::Qml) +if (BUILD_SYNC) + target_link_libraries(astra PRIVATE QuotientQt6) +endif() + if (BUILD_WEBVIEW) target_link_libraries(astra PRIVATE Qt6::WebView