summaryrefslogtreecommitdiffstats
path: root/Source/cmCMakePresetsGraph.cxx
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2022-01-14 17:49:21 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2022-01-19 16:21:35 (GMT)
commit0c2d234bc9be8fbdad5b14d3d5e66026a5d6e2fc (patch)
tree0973142d9cf229a49d9d624f1cf03cb673f956f3 /Source/cmCMakePresetsGraph.cxx
parenta0e78cc30c9c3ab71ef6030cc30e4be51468ffb4 (diff)
downloadCMake-0c2d234bc9be8fbdad5b14d3d5e66026a5d6e2fc.zip
CMake-0c2d234bc9be8fbdad5b14d3d5e66026a5d6e2fc.tar.gz
CMake-0c2d234bc9be8fbdad5b14d3d5e66026a5d6e2fc.tar.bz2
CMakePresets: Allow files included from CMakePresets.json to be anywhere
There are some valid use cases for allowing these files to be outside the project directory. Relax the restriction, and include a strong warning in the documentation.
Diffstat (limited to 'Source/cmCMakePresetsGraph.cxx')
-rw-r--r--Source/cmCMakePresetsGraph.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/cmCMakePresetsGraph.cxx b/Source/cmCMakePresetsGraph.cxx
index 58dca36..238aa68 100644
--- a/Source/cmCMakePresetsGraph.cxx
+++ b/Source/cmCMakePresetsGraph.cxx
@@ -1014,8 +1014,6 @@ const char* cmCMakePresetsGraph::ResultToString(ReadFileResult result)
"support.";
case ReadFileResult::CYCLIC_INCLUDE:
return "Cyclic include among preset files";
- case ReadFileResult::INCLUDE_OUTSIDE_PROJECT:
- return "File included from outside project directory";
}
return "Unknown error";