Skip to content

Commit

Permalink
test: update vcpkg in the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Jan 25, 2024
1 parent 98d8183 commit bd1c6c2
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ include(${_project_options_SOURCE_DIR}/Index.cmake)
# install vcpkg dependencies: - should be called before defining project()
run_vcpkg(
VCPKG_URL "https://github.com/microsoft/vcpkg.git"
VCPKG_REV "0fa8459cf3a7caca7adc58f992bc32ff13630684"
VCPKG_REV "3b213864579b6fa686e38715508f7cd41a50900f"
)
# Set the project name and language
Expand Down
2 changes: 1 addition & 1 deletion docs/src/project_options_example.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ include(${_project_options_SOURCE_DIR}/Index.cmake)
# install vcpkg dependencies: - should be called before defining project()
run_vcpkg(
VCPKG_URL "https://github.com/microsoft/vcpkg.git"
VCPKG_REV "0fa8459cf3a7caca7adc58f992bc32ff13630684"
VCPKG_REV "3b213864579b6fa686e38715508f7cd41a50900f"
ENABLE_VCPKG_UPDATE
)
Expand Down
2 changes: 1 addition & 1 deletion src/Vcpkg.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ Or by specifying the options
run_vcpkg(
VCPKG_URL "https://github.com/microsoft/vcpkg.git"
VCPKG_REV "0fa8459cf3a7caca7adc58f992bc32ff13630684"
VCPKG_REV "3b213864579b6fa686e38715508f7cd41a50900f"
ENABLE_VCPKG_UPDATE
)
Expand Down
8 changes: 4 additions & 4 deletions tests/install/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg/master/scripts/vcpkg.schema.json",
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
"name": "another-project",
"version-string": "0.1.0",
"builtin-baseline": "8dbd66f5a7821ced1ed57696b50375a977006813",
"builtin-baseline": "3b213864579b6fa686e38715508f7cd41a50900f",
"dependencies": [
{
"name": "eigen3",
"version>=": "3.4.0"
"version>=": "3.4.0#2"
},
{
"name": "fmt",
"version>=": "8.1.1"
"version>=": "10.2.1"
}
]
}
8 changes: 4 additions & 4 deletions tests/myproj/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg/master/scripts/vcpkg.schema.json",
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
"name": "myproject",
"version-string": "0.1.0",
"builtin-baseline": "8dbd66f5a7821ced1ed57696b50375a977006813",
"builtin-baseline": "3b213864579b6fa686e38715508f7cd41a50900f",
"dependencies": [
{
"name": "eigen3",
"version>=": "3.4.0"
"version>=": "3.4.0#2"
},
{
"name": "fmt",
"version>=": "8.1.1"
"version>=": "10.2.1"
}
]
}
1 change: 1 addition & 0 deletions tests/rpi4-vcpkg/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
"name": "example",
"version-string": "0.1.0",
"dependencies": [
Expand Down

0 comments on commit bd1c6c2

Please sign in to comment.