Commit 9f893c3
Fix CMake policy version minimum issue for GoogleTest compatibility
Set CMAKE_POLICY_VERSION_MINIMUM=3.5 when not already defined to prevent
CMake compatibility errors when fetching GoogleTest dependencies.
This resolves the build failure that occurs with newer CMake versions.
Co-authored-by: wysaid <1430725+wysaid@users.noreply.github.com>1 parent fc1b10a commit 9f893c3
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
3 | 9 | | |
4 | 10 | | |
5 | 11 | | |
| |||
0 commit comments