From 0c9b86704954a6822ef33d8703d3ca3086c1fbdb Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Wed, 15 Mar 2023 12:15:04 +0100 Subject: [PATCH] CMakeLists.txt: Should link to OpenSSL with PRIVATE scope instead of INTERFACE. otherwise include path to openssl will not be added to the target. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e8456c2..d486214 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -66,7 +66,7 @@ endif() target_link_libraries( ${LIB_NAME} - INTERFACE OpenSSL::Crypto + PRIVATE OpenSSL::Crypto ) target_include_directories( ${LIB_NAME}