mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-01 14:29:00 +08:00
e80f5365af
Crypto++ checks the host machine instead of the target machine when deciding which harware extensions it can use. This breaks cross-compilation in most cases. For example compiling x64 binaries on Apple Silicon doesn't work. This change allows users to disable hardware specific instructions using triplet files if they're trying to cross-compile, by adding if(PORT STREQUAL "cryptopp") set(CRYPTOPP_DISABLE_ASM "ON") endif()
23 lines
449 B
JSON
23 lines
449 B
JSON
{
|
|
"name": "cryptopp",
|
|
"version": "8.6.0",
|
|
"port-version": 2,
|
|
"description": "Crypto++ is a free C++ class library of cryptographic schemes.",
|
|
"homepage": "https://github.com/weidai11/cryptopp",
|
|
"dependencies": [
|
|
{
|
|
"name": "vcpkg-cmake",
|
|
"host": true
|
|
},
|
|
{
|
|
"name": "vcpkg-cmake-config",
|
|
"host": true
|
|
}
|
|
],
|
|
"features": {
|
|
"pem-pack": {
|
|
"description": "Crypto++ with PEM pack"
|
|
}
|
|
}
|
|
}
|