mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-14 08:26:59 +00:00
keep-prefix keeps relative pathing (#7394)
This commit is contained in:
@@ -82,7 +82,7 @@ std::string GenerateFBS(const Parser &parser, const std::string &file_name) {
|
||||
if (it->second.empty())
|
||||
continue;
|
||||
std::string basename;
|
||||
if(parser.opts.keep_include_path) {
|
||||
if(parser.opts.keep_prefix) {
|
||||
basename = flatbuffers::StripExtension(it->second);
|
||||
} else {
|
||||
basename = flatbuffers::StripPath(
|
||||
|
||||
Reference in New Issue
Block a user