diff --git a/Crypto/CMakeLists.txt b/Crypto/CMakeLists.txt index 274fe185c..529443d22 100644 --- a/Crypto/CMakeLists.txt +++ b/Crypto/CMakeLists.txt @@ -29,9 +29,9 @@ target_include_directories( "${LIBNAME}" PUBLIC $ $ + ${OPENSSL_INCLUDE_DIR} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/src - ${OPENSSL_INCLUDE_DIR} ) target_compile_definitions("${LIBNAME}" PUBLIC ${LIB_MODE_DEFINITIONS}) diff --git a/Crypto/include/Poco/Crypto/CryptoException.h b/Crypto/include/Poco/Crypto/CryptoException.h index 93a05a985..34c15111e 100644 --- a/Crypto/include/Poco/Crypto/CryptoException.h +++ b/Crypto/include/Poco/Crypto/CryptoException.h @@ -21,7 +21,6 @@ #include "Poco/Crypto/Crypto.h" #include "Poco/Exception.h" -#include namespace Poco { diff --git a/Crypto/src/CryptoException.cpp b/Crypto/src/CryptoException.cpp index b9770bb71..31ebf6b8d 100644 --- a/Crypto/src/CryptoException.cpp +++ b/Crypto/src/CryptoException.cpp @@ -16,6 +16,7 @@ #include "Poco/Crypto/CryptoException.h" #include "Poco/NumberFormatter.h" #include +#include namespace Poco {