From 81558c3f8cd5703f33ce421480c7b5fa045279aa Mon Sep 17 00:00:00 2001 From: Rahul Jadhav Date: Wed, 20 May 2020 03:18:30 +0800 Subject: [PATCH] fix for BORINGSSL_LIB and BORINGSSL_INCLUDE paths with cmake (#134) * fix for BORINGSSL_LIB and BORINGSSL_INCLUDE paths with cmake * fix boringssl lib search with different build dir --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5c9a4f1..7e86085 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -153,6 +153,7 @@ ELSE() FIND_LIBRARY(BORINGSSL_LIB_${LIB_NAME} NAMES lib${LIB_NAME}.a PATHS ${BORINGSSL_LIB} + PATH_SUFFIXES ${LIB_NAME} NO_DEFAULT_PATH) ENDIF() IF(BORINGSSL_LIB_${LIB_NAME})