Commit 1ef5e4a
authored
### Rationale for this change
We already set this variable when adding projects through `ExternalProject_Add()`, but the config file that RapidJSON exports sets `cmake_minimum_required()` to a version older than 3.5. Set the policy minimum when searching for the just-built RapidJSON.
### What changes are included in this PR?
Set `CMAKE_POLICY_VERSION_MINIMUM` in `FindRapidJSONAlt.cmake`
### Are these changes tested?
Tested locally
### Are there any user-facing changes?
* GitHub Issue: #48801
Authored-by: Kyle Edwards <kyedwards@nvidia.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
1 parent cca41a3 commit 1ef5e4a
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
29 | 31 | | |
| 32 | + | |
30 | 33 | | |
31 | 34 | | |
32 | 35 | | |
| |||
0 commit comments