aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake')
-rw-r--r--cmake/FindSignalProtocol.cmake5
1 files changed, 3 insertions, 2 deletions
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)