Skip to content

Commit

Permalink
[vcpkg-make] Fix the missing value (microsoft#43121)
Browse files Browse the repository at this point in the history
  • Loading branch information
LilyWangLL authored Jan 25, 2025
1 parent 2844a87 commit 57c08a3
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
1 change: 1 addition & 0 deletions ports/vcpkg-make/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "vcpkg-make",
"version-date": "2025-01-13",
"port-version": 1,
"documentation": "https://learn.microsoft.com/vcpkg/maintainers/functions/vcpkg_make_configure",
"license": null,
"supports": "native",
Expand Down
4 changes: 2 additions & 2 deletions ports/vcpkg-make/vcpkg_scripts.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ function(z_vcpkg_set_global_property property value)
if(NOT ARGN STREQUAL "" AND NOT ARGN MATCHES "^APPEND(_STRING)?$")
message(FATAL_ERROR "'${CMAKE_CURRENT_FUNCTION}' called with invalid arguments '${ARGN}'")
endif()
set_property(GLOBAL ${ARGN} PROPERTY "z_vcpkg_global_property_${property}" ${value})
set_property(GLOBAL ${ARGN} PROPERTY "z_vcpkg_global_property_${property}" "${value}")
endfunction()

function(z_vcpkg_get_global_property outvar property)
Expand Down Expand Up @@ -171,7 +171,7 @@ function(vcpkg_restore_pkgconfig)
if(has_backup)
z_vcpkg_get_global_property(backup "make-pkg-config-backup-${envvar}")
set("ENV{${envvar}}" "${backup}")
z_vcpkg_set_global_property("make-pkg-config-backup-${envvar}")
z_vcpkg_set_global_property("make-pkg-config-backup-${envvar}" "")
else()
unset("ENV{${envvar}}")
endif()
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -9406,7 +9406,7 @@
},
"vcpkg-make": {
"baseline": "2025-01-13",
"port-version": 0
"port-version": 1
},
"vcpkg-msbuild": {
"baseline": "2023-08-08",
Expand Down
5 changes: 5 additions & 0 deletions versions/v-/vcpkg-make.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "276b846fcad524729ffbf6fe1c8b7598cfeac91a",
"version-date": "2025-01-13",
"port-version": 1
},
{
"git-tree": "5af3456c1f7742c9d880d70dc678c061b91668c1",
"version-date": "2025-01-13",
Expand Down

0 comments on commit 57c08a3

Please sign in to comment.