Passing custom configure flags for openssl #43582
-
We have a project in Visual studio. We use vcpkg in manifest mode. Our depencies look like: Now we've realsied that we need to build a custom version and to pass some variables: I've created a custom triplet based on one of the existing ones: `set(VCPKG_TARGET_ARCHITECTURE x64) set(VCPKG_CMAKE_CONFIGURE_OPTIONS "-DOPENSSL_NO_SHARED=ON -DOPENSSL_NO_PINSHARED=ON") Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Correct answer is add to the bellow triplet: and remove: |
Beta Was this translation helpful? Give feedback.
Correct answer is add to the bellow triplet:
set(OPENSSL_USE_NOPINSHARED ON) # Don't pin the shared libraries.
and remove:
set(VCPKG_CMAKE_CONFIGURE_OPTIONS "-DOPENSSL_NO_SHARED=ON -DOPENSSL_NO_PINSHARED=ON")