summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/json-schema-validator/json-schema-validator_2.3.0.bb
Commit message (Collapse)AuthorAgeFilesLines
* json-schema-validator: Upgrade 2.2.0 -> 2.3.0 to allow CMake 4+ compatibilityAlper Ak11 days1-0/+14
- Drop patches because all of them fixed in the newer version. A few explanation for 0001-Set-Json_validator-Install-off-if-it-finds-it-via-li.patch: For newer version CMakeLists.txt, this logic is now handled automatically using the PROJECT_IS_TOP_LEVEL variable. The JSON_VALIDATOR_INSTALL option is set to ON only when the project is being built as the top-level project, and it is automatically disabled when included as a dependency. As a result, the patch is no longer needed and the behavior it intended to provide is already covered by the new build system logic. Changelog: - Some bugfixes, but mainly a big re-work of the CMakeLists.txt making it use and usable for FetchContent-users. Fix: | CMake Error at CMakeLists.txt:1 (cmake_minimum_required): | Compatibility with CMake < 3.5 has been removed from CMake. | | Update the VERSION argument <min> value. Or, use the <min>...<max> syntax | to tell CMake that the project requires at least <min> but has been updated | to work with policies introduced by <max> or earlier. | | Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. | | | -- Configuring incomplete, errors occurred! Signed-off-by: Alper Ak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>