aboutsummaryrefslogtreecommitdiff
path: root/cmake/FindSignalProtocol.cmake
blob: e700cc51ff2fc108b81ffa8cc9f1ceebc8efc079 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
include(PkgConfigWithFallback)
find_pkg_config_with_fallback(SignalProtocol
    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
    VERSION_VAR SignalProtocol_VERSION)