CMake/Tests/SourceGroups/tree_prefix_foo.c
Mateusz Janek 4716f2be83 source_group: Restore TREE support for relative paths
The fix in commit v3.8.1~4^2 (source_group: Fix TREE with root that is
not current source dir, 2017-04-20) accidentally broke support for
specifying paths relative to the source directory.  Fix it and add a
test covering the case.

While at it, fix a typo in a variable name.

Fixes: #16876
2017-05-17 09:04:02 -04:00

5 lines
42 B
C

int tree_prefix_foo(void)
{
return 6;
}