Skip to content

Commit

Permalink
[vcpkg_cmake_config_fixup] Fix variable name (microsoft#20380)
Browse files Browse the repository at this point in the history
* [vcpkg_cmake_config_fixup] Fix variable name

* Fix vcpkg.json
  • Loading branch information
PhoebeHui authored Sep 28, 2021
1 parent 5d18394 commit 042e1db
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
3 changes: 1 addition & 2 deletions ports/vcpkg-cmake-config/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "vcpkg-cmake-config",
"version-date": "2021-05-22",
"port-version": 1
"version-date": "2021-09-27"
}
2 changes: 1 addition & 1 deletion ports/vcpkg-cmake-config/vcpkg_cmake_config_fixup.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)]]

# Patch out any remaining absolute references
file(TO_CMAKE_PATH "${CURRENT_PACKAGES_DIR}" cmake_current_packages_dir)
string(REPLACE "${CMAKE_CURRENT_PACKAGES_DIR}" [[${_IMPORT_PREFIX}]] contents "${contents}")
string(REPLACE "${cmake_current_packages_dir}" [[${_IMPORT_PREFIX}]] contents "${contents}")

file(WRITE "${main_cmake}" "${contents}")
endforeach()
Expand Down
4 changes: 2 additions & 2 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -6849,8 +6849,8 @@
"port-version": 0
},
"vcpkg-cmake-config": {
"baseline": "2021-05-22",
"port-version": 1
"baseline": "2021-09-27",
"port-version": 0
},
"vcpkg-gfortran": {
"baseline": "3",
Expand Down
5 changes: 5 additions & 0 deletions versions/v-/vcpkg-cmake-config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "9ae99981abcd01b092344f85ef6e1de3c1f9856a",
"version-date": "2021-09-27",
"port-version": 0
},
{
"git-tree": "330cc51bc99c6b71ed5fb51901f6f838684015a5",
"version-date": "2021-05-22",
Expand Down

0 comments on commit 042e1db

Please sign in to comment.