vcpkg/ports/cryptopp
Aleksi Sapon e80f5365af
Allow disabling Crypto++ ASM using a triplet file (#27361)
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()
2022-10-21 15:36:03 -07:00
..
cmake.patch [cryptopp]: Fix compilation with clang-cl (#26151) 2022-08-05 23:33:42 -07:00
patch.patch [cryptopp]: Fix compilation with clang-cl (#26151) 2022-08-05 23:33:42 -07:00
portfile.cmake Allow disabling Crypto++ ASM using a triplet file (#27361) 2022-10-21 15:36:03 -07:00
vcpkg.json Allow disabling Crypto++ ASM using a triplet file (#27361) 2022-10-21 15:36:03 -07:00