Skip to content

Use vcpkgs for dependencies on Windows - #3490

Merged
Magnus Edenhill (edenhill) merged 2 commits into
masterfrom
usevcpkg
Aug 12, 2021
Merged

Use vcpkgs for dependencies on Windows#3490
Magnus Edenhill (edenhill) merged 2 commits into
masterfrom
usevcpkg

Conversation

@edenhill

Copy link
Copy Markdown
Contributor

This addresses the zlib upgrade in #2934 and makes sure we'll have up-to-date dependencies going forward.

It also makes adding additional dependencies easier.

a.info.get('arch'),
a.info.get('bldtype'))
if 'toolset' not in a.info:
a.info['toolset'] = 'v120'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wondering if this affects OOTB compatibility anywhere important, but 2015 was a long time ago...

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I'm not completely sure either. But we'll find out

@edenhill
Magnus Edenhill (edenhill) merged commit d2bc749 into master Aug 12, 2021
Comment thread src/rdkafka_ssl.c
Comment on lines +42 to +43
#pragma comment (lib, "libcrypto.lib")
#pragma comment (lib, "libssl.lib")

@mabrarov Marat Abrarov (mabrarov) Feb 27, 2026

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The names of these libraries (the file names) depend on build configuration. For example, for debug build of OpenSSL with / for MSVC these libraries can be named as libcryptod.lib and libssld.lib.

The CMake project already uses FindOpenSSL module which finds correct libs itself:

find_package(OpenSSL QUIET)

so correct libraries should be added into linker options by CMake.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Refer to #5334

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants