mirror of
https://github.com/izzy2lost/Torch.git
synced 2026-07-06 00:18:35 -07:00
header path must match yaml path with subdirs
This commit is contained in:
+1
-1
@@ -765,7 +765,7 @@ void Companion::ProcessFile(YAML::Node root) {
|
||||
|
||||
switch (this->gConfig.exporterType) {
|
||||
case ExportType::Header: {
|
||||
fsout /= filename + ".h";
|
||||
fsout /= this->gCurrentDirectory.parent_path() / (filename + ".h");
|
||||
break;
|
||||
}
|
||||
case ExportType::Code: {
|
||||
|
||||
Reference in New Issue
Block a user