Skip to content

Commit

Permalink
set openssl version in cmakelists
Browse files Browse the repository at this point in the history
  • Loading branch information
gitting-around committed Oct 16, 2024
1 parent e85a908 commit 42b0179
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rabbitmq-fmu/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ else()
find_package(Threads REQUIRED)
set(OPENSSL_ROOT_DIR "C:\\Strawberry\\c\\lib")
set(OPENSSL_USE_STATIC_LIBS TRUE)
find_package(OpenSSL 3.0.0 REQUIRED)
set(RMQ_OPENSSL_MIN_VERSION 3.0.0)
find_package(OpenSSL REQUIRED)
target_link_libraries(rabbitmq XercesC::XercesC rabbitmq-static tz rabbitmq-core Threads::Threads OpenSSL::SSL OpenSSL::Crypto -static )
#target_link_libraries(rabbitmq XercesC::XercesC rabbitmq-static tz rabbitmq-core)
endif()
Expand Down

0 comments on commit 42b0179

Please sign in to comment.