Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e2578e2

Browse files
author
jantje
committedJul 10, 2023
ino file inclusions need path #747
1 parent b03c68e commit e2578e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎io.sloeber.core/src/io/sloeber/core/tools/PdePreprocessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ private static String extendIncludedInoPartForFile(String existingIncludeCodePar
358358
if (curResource.isLinked()) {
359359
addLine = "#include \"" + curResource.getLocation() + "\"" + NEWLINE;
360360
} else {
361-
addLine = "#include \"" + curResource.getName() + "\"" + NEWLINE;
361+
addLine = "#include \"" + curResource.getProjectRelativePath().toString() + "\"" + NEWLINE;
362362
}
363363
// if the name of the ino/pde file matches the project put
364364
// the file in front

0 commit comments

Comments
 (0)
Please sign in to comment.