Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ports/vcpkg-cmake-config/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "vcpkg-cmake-config",
"version-date": "2021-09-27"
"version-date": "2021-09-29"
}
10 changes: 9 additions & 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,15 @@ 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}")
if (contents MATCHES ".*${cmake_current_packages_dir}.*")
Comment thread
JackBoosY marked this conversation as resolved.
Outdated
string(PREPEND contents
[[
get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_DIR}" PATH)
Comment thread
PhoebeHui marked this conversation as resolved.
Outdated
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
]]
)
string(REPLACE "${cmake_current_packages_dir}" [[${_IMPORT_PREFIX}]] contents "${contents}")
endif()

file(WRITE "${main_cmake}" "${contents}")
endforeach()
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -6949,7 +6949,7 @@
"port-version": 0
},
"vcpkg-cmake-config": {
"baseline": "2021-09-27",
"baseline": "2021-09-29",
"port-version": 0
},
"vcpkg-gfortran": {
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": "34d05637b537f2a7b665f767123c17823bc796aa",
"version-date": "2021-09-29",
"port-version": 0
},
{
"git-tree": "9ae99981abcd01b092344f85ef6e1de3c1f9856a",
"version-date": "2021-09-27",
Expand Down