Skip to content

Commit

Permalink
[vcpkg_configure_make] Fix serious case of WINDOWS yelling at you
Browse files Browse the repository at this point in the history
  • Loading branch information
Neumann-A authored Jul 26, 2023
1 parent a1d682b commit e65af7b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/cmake/vcpkg_configure_make.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ function(vcpkg_configure_make)
cmake_path(CONVERT "$ENV{SystemRoot}" TO_CMAKE_PATH_LIST system_root NORMALIZE)
cmake_path(CONVERT "$ENV{LOCALAPPDATA}" TO_CMAKE_PATH_LIST local_app_data NORMALIZE)
file(REAL_PATH "${system_root}" system_root)
string(TOUPPER "${system_root}" system_root_upper)

message(DEBUG "path_list:${path_list}") # Just to have --trace-expand output

Expand All @@ -244,6 +245,10 @@ function(vcpkg_configure_make)
"${system_root}/System32"
"${system_root}/system32/"
"${system_root}/System32/"
"${system_root_upper}/system32"
"${system_root_upper}/System32"
"${system_root_upper}/system32/"
"${system_root_upper}/System32/"
"${local_app_data}/Microsoft/WindowsApps"
"${local_app_data}/Microsoft/WindowsApps/"
)
Expand Down

0 comments on commit e65af7b

Please sign in to comment.