speed-dreams-code/packaging
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
..
3rdParty-devel cJSON: Use CMakePackageConfigHelpers 2024-10-27 08:11:24 +00:00
appdata String trailing whitespaces 2024-07-30 21:45:07 +00:00
desura String trailing whitespaces 2024-07-30 21:45:07 +00:00
loki Remove svn:keywords property from the repository 2024-10-02 15:30:18 +00:00
OSX WIP for ticket 1047 Automate creation of Base app for MacOS 2020-08-30 04:46:14 +00:00
portable Add option to create portable app for Windows 2023-11-05 22:25:58 +00:00
sources Remove svn:keywords property from the repository 2024-10-02 15:30:18 +00:00
windows Remove svn:keywords property from the repository 2024-10-02 15:30:18 +00:00
CMakeLists.txt Remove $Id$ 2024-09-30 05:17:15 +00:00