Skip to content

Commit

Permalink
* NEW [cmake] Update cmake to load ssl when scram is enabled.
Browse files Browse the repository at this point in the history
Signed-off-by: wanghaemq <[email protected]>
  • Loading branch information
wanghaEMQ committed Jul 26, 2024
1 parent dd57c74 commit 589c25f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,8 @@ endif()

if (NNG_ENABLE_SCRAM)
add_definitions(-DSUPP_SCRAM)
find_package(OpenSSL)
target_link_libraries(nng PRIVATE OpenSSL::SSL OpenSSL::Crypto)
endif ()

add_subdirectory(src)
Expand Down

0 comments on commit 589c25f

Please sign in to comment.