speed-dreams-code/packaging/3rdParty-devel/patches/cJSON
xavi92 b47e5f5bf3 cJSON: Use CMakePackageConfigHelpers
CMake discourages the use of configure_file() to generate files such as
cJSONConfig.cmake because it might expand variables such as
<project>_INCLUDE_DIR to absolute paths, which might cause issues on
Windows and macOS [1].

Instead, configure_package_config_file() is meant as a drop-in
replacement that generates cJSONConfig.cmake using relative paths. In
the context of this project, this should allow pre-compiled versions of
the `3rdParty` directory to be shared among developers.

[1]: https://cmake.org/cmake/help/latest/module/CMakePackageConfigHelpers.html


git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9610 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: dc7f18be6bfa6f933909544176af600c48755173
Former-commit-id: 93228e7d1f46efa51dd919c3ce20e4b735c58726
2024-10-27 08:11:24 +00:00
..
cJSONConfig.cmake.in cJSON: Use CMakePackageConfigHelpers 2024-10-27 08:11:24 +00:00
CMakeLists.txt cJSON: Use CMakePackageConfigHelpers 2024-10-27 08:11:24 +00:00