Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Bump cmake_minimum_required to 3.5. Current version triggers a warning during configuration phase: CMake Deprecation Warning at CMakeLists.txt:19 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions. CMake 3.5.0 has been released in 2016, so it's safe to assume it's available everywhere, which correlates with the information from pkgs.org [1]. [1]: https://pkgs.org/search/?q=cmake&on=name * CMake: fix the setting CMP0042 policy The if-statement was always true since minimum cmake version was set to 3.1. Instead, replace this condition with `if (APPLE)` since this policy makes sense only on macOS.
- Loading branch information