[openssl] Conflict when using vcpkg with external dependencies #43248
NahuFigueroa97
started this conversation in
General
Replies: 2 comments 2 replies
-
It seems to be due to transitive dependencies:
Is there any way to prevent openssl from being downloaded? I need the compilation to fail if I don't add the openssl from vcpkg |
Beta Was this translation helpful? Give feedback.
1 reply
-
Or if there is no alternative, how could I make it private? I don't want the openssl that is downloaded due to the absence of the port in vcpkg.json to remain as public. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I look at my CMakeCache.txt I can see this line: //Path to a library.
OPENSSL_DL_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libdl.a
I was getting a strange behavior, when I don't use the vcpkg openssl in the target_include_library a version is used that seems to be downloaded from some other port but when the vcpkg openssl is used the "system" version is overwritten by the vcpkg openssl. This causes problems because it seems that this version is public making it unnecessary to use the vcpkg version.
Beta Was this translation helpful? Give feedback.
All reactions