From eddf17c68274c3e8ecf86a13858243159ffe9714 Mon Sep 17 00:00:00 2001 From: Marvin W Date: Sun, 23 Apr 2017 10:01:40 +0200 Subject: cmake/signal-protocol: shared lib, mark_as_advanced and others --- cmake/FindSignalProtocol.cmake | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 cmake/FindSignalProtocol.cmake (limited to 'cmake/FindSignalProtocol.cmake') diff --git a/cmake/FindSignalProtocol.cmake b/cmake/FindSignalProtocol.cmake new file mode 100644 index 00000000..75583e6a --- /dev/null +++ b/cmake/FindSignalProtocol.cmake @@ -0,0 +1,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) \ No newline at end of file -- cgit v1.2.3-54-g00ecf