aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/PostBuildLint.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'toolsrc/src/PostBuildLint.cpp')
-rw-r--r--toolsrc/src/PostBuildLint.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/toolsrc/src/PostBuildLint.cpp b/toolsrc/src/PostBuildLint.cpp
index 5f271d84f..65e0683f2 100644
--- a/toolsrc/src/PostBuildLint.cpp
+++ b/toolsrc/src/PostBuildLint.cpp
@@ -109,7 +109,8 @@ namespace vcpkg::PostBuildLint
if (fs::exists(debug_share) && !fs::is_empty(debug_share))
{
- System::println(System::color::warning, "No files should be present in /debug/share");
+ System::println(System::color::warning, "/debug/share should not exist. Please reorganize any important files, then use\n"
+ " file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)");
return lint_status::ERROR_DETECTED;
}