Commit cbe554c
fix: enable CMP0177 for CMake >= 3.31
Add a version-guarded cmake_policy(SET CMP0177 NEW) to src/Index.cmake for CMake 3.31 and newer to normalize install directories. The policy is applied alongside existing policy settings to ensure consistent install directory behavior on newer CMake versions.
Co-Authored-By: Claus Klein <1833050+ClausKlein@users.noreply.github.com>1 parent 6c511c2 commit cbe554c
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
21 | 26 | | |
22 | 27 | | |
23 | 28 | | |
| |||
0 commit comments