Fix macos build: crypto shoud use public openssl includes #2100

This commit is contained in:
Alex Fabijanic 2018-01-19 18:24:58 -06:00
parent dc44c8f373
commit 1db234a2ab
3 changed files with 2 additions and 2 deletions

View File

@ -29,9 +29,9 @@ target_include_directories( "${LIBNAME}"
PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:include>
${OPENSSL_INCLUDE_DIR}
PRIVATE
${CMAKE_CURRENT_SOURCE_DIR}/src
${OPENSSL_INCLUDE_DIR}
)
target_compile_definitions("${LIBNAME}" PUBLIC ${LIB_MODE_DEFINITIONS})

View File

@ -21,7 +21,6 @@
#include "Poco/Crypto/Crypto.h"
#include "Poco/Exception.h"
#include <openssl/err.h>
namespace Poco {

View File

@ -16,6 +16,7 @@
#include "Poco/Crypto/CryptoException.h"
#include "Poco/NumberFormatter.h"
#include <typeinfo>
#include <openssl/err.h>
namespace Poco {