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