Commit 7d7d73c
committed
build: Fix --build-3rdparty on cmake 4.x
Add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 when building dependencies
with cmake, so that the build doesn't fail when we build old
dependencies with new cmake.
While this is not guaranteed to work in general case, it seems to
work fine with all our dependencies.
(cherry picked from commit 7b8392c)1 parent 9c65791 commit 7d7d73c
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
284 | 289 | | |
285 | 290 | | |
286 | 291 | | |
| |||
0 commit comments