externals: Bundle cryptopp as submodule. (#6272)

fix https://github.com/citra-emu/citra/issues/6271
This commit is contained in:
Steveice10 2023-02-02 07:26:21 -08:00 committed by GitHub
parent 3d3dd2d162
commit 3a6a17c708
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 0 deletions

3
.gitmodules vendored
View File

@ -58,3 +58,6 @@
[submodule "cryptopp-cmake"] [submodule "cryptopp-cmake"]
path = externals/cryptopp-cmake path = externals/cryptopp-cmake
url = https://github.com/abdes/cryptopp-cmake.git url = https://github.com/abdes/cryptopp-cmake.git
[submodule "cryptopp"]
path = externals/cryptopp
url = https://github.com/weidai11/cryptopp.git

View File

@ -32,6 +32,7 @@ add_subdirectory(catch2)
set(CRYPTOPP_BUILD_DOCUMENTATION OFF) set(CRYPTOPP_BUILD_DOCUMENTATION OFF)
set(CRYPTOPP_BUILD_TESTING OFF) set(CRYPTOPP_BUILD_TESTING OFF)
set(CRYPTOPP_INSTALL OFF) set(CRYPTOPP_INSTALL OFF)
set(CRYPTOPP_SOURCES "${CMAKE_SOURCE_DIR}/externals/cryptopp")
add_subdirectory(cryptopp-cmake) add_subdirectory(cryptopp-cmake)
# HACK: The logic to set up the base include directory for CryptoPP does not work with Android SDK CMake 3.22.1. # HACK: The logic to set up the base include directory for CryptoPP does not work with Android SDK CMake 3.22.1.

1
externals/cryptopp vendored Submodule

@ -0,0 +1 @@
Subproject commit 511806c0eba8ba5b5cedd4b4a814e96df92864a6