Commit ef08771
Fix CMake deprecation warning for compatibility with CMake < 3.10 (#1659)
* Fix uninitialized CMake variable in version.in
CMake's project() command sets jsoncpp_VERSION (lowercase prefix),
not JSONCPP_VERSION. The wrong variable caused the generated version
file to be empty.
Fixes #1656
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* Fix CMake deprecation warning for compatibility with CMake < 3.10
Bump JSONCPP_OLDEST_VALIDATED_POLICIES_VERSION from 3.8.0 to 3.10.0
to silence the CMake 3.31 deprecation warning.
Fixes #1598
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 134138d commit ef08771
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
0 commit comments