Commit 06cfbf0
[nrf fromtree] cmake: update zephyr_file to use cmake_path()
Since the introduction of zephyr_file() then the minimum required CMake
version has become 3.20.
Update zephyr_file() to use cmake_path insteasd of set().
This allows us to normalize the path and thereby also remove duplicates
in the list as paths are normalized.
Signed-off-by: Torsten Rasmussen <[email protected]>
(cherry picked from commit 8b3d4c6)1 parent 10c0de0 commit 06cfbf0
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2609 | 2609 | | |
2610 | 2610 | | |
2611 | 2611 | | |
2612 | | - | |
2613 | 2612 | | |
| 2613 | + | |
2614 | 2614 | | |
2615 | 2615 | | |
2616 | | - | |
| 2616 | + | |
2617 | 2617 | | |
2618 | 2618 | | |
2619 | 2619 | | |
| |||
2630 | 2630 | | |
2631 | 2631 | | |
2632 | 2632 | | |
| 2633 | + | |
2633 | 2634 | | |
2634 | 2635 | | |
2635 | 2636 | | |
| |||
0 commit comments