1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-20 11:47:46 +00:00

Link to libQuotient only when BUILD_SYNC is enabled

This commit is contained in:
Joshua Goins 2024-07-30 20:50:51 -04:00
parent 0658f09995
commit 29cd58e62f

View file

@ -162,8 +162,11 @@ target_link_libraries(astra PRIVATE
KF6::Archive KF6::Archive
QCoro::Core QCoro::Core
QCoro::Network QCoro::Network
QCoro::Qml QCoro::Qml)
QuotientQt6) if (BUILD_SYNC)
target_link_libraries(astra PRIVATE QuotientQt6)
endif()
if (BUILD_WEBVIEW) if (BUILD_WEBVIEW)
target_link_libraries(astra PRIVATE target_link_libraries(astra PRIVATE
Qt6::WebView Qt6::WebView