Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 00f83d23 authored by Nikita Sirgienko's avatar Nikita Sirgienko Committed by Albert Astals Cid

Add build compatibility qalculate-backend with libqalculate < 2.0.0

According to @filipesaraiva remove cln linking on commit 6ad659fc.
It's cause a lot of ld errors (undefined references), if you have libqalculate with version less 2.0.0.
I have changed this to link cln library depending on the version of libqalculate.

Reviewers: #cantor, asemke

Reviewed By: #cantor, asemke

Subscribers: #cantor, filipesaraiva, #kde_edu

Tags: #kde_edu, #cantor

Differential Revision:
parent 6f5f23f3
......@@ -22,6 +22,10 @@ ki18n_wrap_ui(QalculateBackend_SRCS settings.ui)
add_backend(qalculatebackend ${QalculateBackend_SRCS})
target_link_libraries( cantor_qalculatebackend cantorlibs ${QALCULATE_LIBRARIES} )
target_link_libraries( cantor_qalculatebackend cantorlibs ${QALCULATE_LIBRARIES} ${CLN_LIBRARIES})
target_link_libraries( cantor_qalculatebackend cantorlibs ${QALCULATE_LIBRARIES})
install( FILES cantor_qalculate.knsrc DESTINATION ${KDE_INSTALL_CONFDIR} )
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment