From 55b148a0f78c1abef57c21b2a84d97cad32b2290 Mon Sep 17 00:00:00 2001 From: Marvin W Date: Tue, 21 Jan 2020 21:30:21 +0100 Subject: Use system provided libsignal-protocol-c by default You can still compile in tree by using --with-libsignal-in-tree flag --- cmake/FindSignalProtocol.cmake | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'cmake') diff --git a/cmake/FindSignalProtocol.cmake b/cmake/FindSignalProtocol.cmake index 75583e6a..e700cc51 100644 --- a/cmake/FindSignalProtocol.cmake +++ b/cmake/FindSignalProtocol.cmake @@ -1,10 +1,11 @@ include(PkgConfigWithFallback) find_pkg_config_with_fallback(SignalProtocol - PKG_CONFIG_NAME signal-protocol-c + PKG_CONFIG_NAME libsignal-protocol-c LIB_NAMES signal-protocol-c INCLUDE_NAMES signal/signal_protocol.h ) include(FindPackageHandleStandardArgs) find_package_handle_standard_args(SignalProtocol - REQUIRED_VARS SignalProtocol_LIBRARY) \ No newline at end of file + REQUIRED_VARS SignalProtocol_LIBRARY + VERSION_VAR SignalProtocol_VERSION) -- cgit v1.2.3-70-g09d2