diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2022-01-14 17:49:21 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2022-01-19 16:21:35 (GMT) |
commit | 0c2d234bc9be8fbdad5b14d3d5e66026a5d6e2fc (patch) | |
tree | 0973142d9cf229a49d9d624f1cf03cb673f956f3 /Source/cmCMakePresetsGraph.cxx | |
parent | a0e78cc30c9c3ab71ef6030cc30e4be51468ffb4 (diff) | |
download | CMake-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.cxx | 2 |
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"; |