diff options
| author | Xavier Del Campo Romero <xavi92@disroot.org> | 2026-04-05 12:27:09 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi92@disroot.org> | 2026-04-05 12:27:09 +0200 |
| commit | 5b63adcc9e80a04cf8909a67857d284eff87b398 (patch) | |
| tree | 547b3e77110b2d0a3f6ca5125d0d580d09fde7b6 /include | |
| parent | f0a05bebbea8f123070d0da60d781c8ca07ecb4f (diff) | |
| download | dynstr-5b63adcc9e80a04cf8909a67857d284eff87b398.tar.gz | |
CMakeLists.txt: Keep compatibility with CMake 4.x
CMake 4.0 and above removed support for any project defining their
cmake_minimum_required(VERSION) to 3.5 or lower.
Since this project does not require any modern version of CMake (i.e.,
3.0 and above are fine), this commit attempts to provide a flexible
approach by checking CMAKE_MAJOR_VERSION and CMAKE_MINOR_VERSION.
[1]: https://cmake.org/cmake/help/latest/command/cmake_minimum_required.html#policy-version
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
