diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ae44801..d8f52545 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ ## 13.2.1 * Fixed async socket close blocking problem. (#977) + ## 13.2.0 * Added locks for timers. (#973) * Added logs. (#971) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 2eff4df5..f3bea120 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -128,7 +128,7 @@ strategy: steps: - powershell: | - choco install --confirm --limitoutput --no-progress openssl + choco install --confirm --limitoutput --no-progress openssl --version=3.1.1 displayName: 'install openssl' - powershell: | @@ -153,7 +153,7 @@ steps: if (!$?) { return Write-Error "cmake failed" } - cmake --build . --config Release + cmake --build . --config Release --verbose if (!$?) { return Write-Error "cmake --build failed" } diff --git a/include/CMakeLists.txt b/include/CMakeLists.txt index e5fa5b96..8f8062da 100644 --- a/include/CMakeLists.txt +++ b/include/CMakeLists.txt @@ -16,7 +16,11 @@ IF(MQTT_USE_STATIC_OPENSSL) TARGET_LINK_LIBRARIES(${PROJECT_NAME} INTERFACE $<$:${CMAKE_DL_LIBS} ZLIB::ZLIB>) ENDIF() -TARGET_LINK_LIBRARIES(${PROJECT_NAME} INTERFACE $<$:OpenSSL::SSL>) +TARGET_LINK_LIBRARIES( + ${PROJECT_NAME} INTERFACE + $<$:OpenSSL::SSL> + $<$:OpenSSL::Crypto> +) TARGET_INCLUDE_DIRECTORIES(${PROJECT_NAME} INTERFACE