From 49aa38683440ee1c1d71e38b850f07a75b53f66c Mon Sep 17 00:00:00 2001 From: wwieclaw Date: Fri, 12 May 2023 16:15:10 +0200 Subject: [PATCH 1/3] add FindBoringSSL.cmake --- FindBoringSSL.cmake | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 FindBoringSSL.cmake diff --git a/FindBoringSSL.cmake b/FindBoringSSL.cmake new file mode 100644 index 0000000..cc55277 --- /dev/null +++ b/FindBoringSSL.cmake @@ -0,0 +1,19 @@ +# +# Copyright (C) 2021 Swift Navigation Inc. +# Contact: Swift Navigation +# +# This source is subject to the license found in the file 'LICENSE' which must +# be be distributed together with this source. All other rights reserved. +# +# THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, +# EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED +# WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. +# + +include("GenericFindDependency") +GenericFindDependency( + TARGET ssl + SOURCE_DIR boringssl + SYSTEM_INCLUDES +) + From 5f92b6debd83ec3cab3e50433fbd5aa2f67edc59 Mon Sep 17 00:00:00 2001 From: wwieclaw Date: Fri, 12 May 2023 16:28:42 +0200 Subject: [PATCH 2/3] whitespace --- FindBoringSSL.cmake | 1 - 1 file changed, 1 deletion(-) diff --git a/FindBoringSSL.cmake b/FindBoringSSL.cmake index cc55277..6fe5961 100644 --- a/FindBoringSSL.cmake +++ b/FindBoringSSL.cmake @@ -16,4 +16,3 @@ GenericFindDependency( SOURCE_DIR boringssl SYSTEM_INCLUDES ) - From b39dc97076a1b7fafeb8fbe708baf46da371ced2 Mon Sep 17 00:00:00 2001 From: wwieclaw Date: Wed, 17 May 2023 00:51:39 +0200 Subject: [PATCH 3/3] add crypto to ADDITIONAL_TARGETS --- FindBoringSSL.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/FindBoringSSL.cmake b/FindBoringSSL.cmake index 6fe5961..8acb045 100644 --- a/FindBoringSSL.cmake +++ b/FindBoringSSL.cmake @@ -13,6 +13,7 @@ include("GenericFindDependency") GenericFindDependency( TARGET ssl + ADDITIONAL_TARGETS crypto SOURCE_DIR boringssl SYSTEM_INCLUDES )