diff options
author | Marvin W <git@larma.de> | 2020-01-21 21:30:21 +0100 |
---|---|---|
committer | Marvin W <git@larma.de> | 2020-01-21 21:55:08 +0100 |
commit | 55b148a0f78c1abef57c21b2a84d97cad32b2290 (patch) | |
tree | 8b3db2a9e9594316e281e3006b098f2762e8b3b8 /cmake/FindSignalProtocol.cmake | |
parent | 4c3800c688f87482cdf79c4ecb1c7764ff01e213 (diff) | |
download | dino-55b148a0f78c1abef57c21b2a84d97cad32b2290.tar.gz dino-55b148a0f78c1abef57c21b2a84d97cad32b2290.zip |
Use system provided libsignal-protocol-c by default
You can still compile in tree by using --with-libsignal-in-tree flag
Diffstat (limited to 'cmake/FindSignalProtocol.cmake')
-rw-r--r-- | cmake/FindSignalProtocol.cmake | 5 |
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) |