Commit 4c6b91f
committed
COMP: Fix CMP0177 install-path warning in WriteAnImage
The install(FILES ...) DESTINATION contained a doubled separator
("Code/Base//WriteAnImage"), and the install(TARGETS ...) DESTINATION
had a trailing slash. Under CMake 3.31+ (which enables CMP0177) the
unnormalized paths emit a developer warning, and the documentation and
python-superbuild dashboards treat any build warning as a failure, so
the gate fails for every PR built on a recent CMake.
Normalize both DESTINATION paths.1 parent 71aace7 commit 4c6b91f
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
0 commit comments