Skip to content

Commit

Permalink
[cryptopp] Avoid redownloading source code (microsoft#28701)
Browse files Browse the repository at this point in the history
* Avoid redownloading source code

* x-add-version
  • Loading branch information
longhuan2018 authored Jan 4, 2023
1 parent 9033fcd commit d9ebadf
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions ports/cryptopp/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ endif()
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DCRYPTOPP_SOURCES=${SOURCE_PATH}
-DCRYPTOPP_BUILD_SHARED=OFF
-DBUILD_STATIC=ON
-DCRYPTOPP_BUILD_TESTING=OFF
Expand Down
2 changes: 1 addition & 1 deletion ports/cryptopp/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "cryptopp",
"version": "8.7.0",
"port-version": 1,
"port-version": 2,
"description": "Crypto++ is a free C++ class library of cryptographic schemes.",
"homepage": "https://github.com/weidai11/cryptopp",
"license": "BSL-1.0",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -1766,7 +1766,7 @@
},
"cryptopp": {
"baseline": "8.7.0",
"port-version": 1
"port-version": 2
},
"cserialport": {
"baseline": "4.2.1",
Expand Down
5 changes: 5 additions & 0 deletions versions/c-/cryptopp.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "20b463ab90fac219ea14ff22661b9afbff15b54a",
"version": "8.7.0",
"port-version": 2
},
{
"git-tree": "8b3216451005bcb10fe92fef34a00abead309247",
"version": "8.7.0",
Expand Down

0 comments on commit d9ebadf

Please sign in to comment.