Skip to content

Commit

Permalink
postbuildcheck: do not suggest invalid cmake (#537)
Browse files Browse the repository at this point in the history
  • Loading branch information
autoantwort authored May 10, 2022
1 parent 67e17c1 commit 88af873
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/vcpkg/postbuildlint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -740,8 +740,10 @@ namespace vcpkg::PostBuildLint
std::string dirs = " file(REMOVE_RECURSE";
for (auto&& empty_dir : empty_directories)
{
Strings::append(
dirs, " \"${CURRENT_PACKAGES_DIR}", empty_dir.native().substr(dir.native().size()), '"');
Strings::append(dirs,
" \"${CURRENT_PACKAGES_DIR}",
empty_dir.generic_u8string().substr(dir.generic_u8string().size()),
'"');
}
dirs += ")\n";
print2(
Expand Down

0 comments on commit 88af873

Please sign in to comment.