-
Couldn't load subscription status.
- Fork 412
Fix CMake compatibility warnings #1907
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
156d7d4 to
4f81649
Compare
|
Thanks for working on this. This issue is affecting NixOS users (NixOS/nixpkgs#450258) and will likely impact other distributions as they upgrade to CMake 4.x. I'll create a patch for NixOS inspired by your CMake version updates here. Looking forward to this being merged upstream so we can remove our patch. |
Adds a patch file to update cmake_minimum_required from 3.7 to 3.10 in the main CMakeLists.txt files. Keeps the existing postPatch for vendored dependencies since those are git submodules that can't be easily patched with patch files. CMake 4 doesn't support versions older than 3.5, and versions between 3.5-3.10 are deprecated. Upstream is working on a similar fix in OpenNMT/CTranslate2#1907 Fixes: NixOS#450258 Signed-off-by: Dave Walker <dave@daviey.com>
Hi @Daviey , in order to make commits/changes more meaningful, keep this in mind:
|
88f2379 to
92d6b71
Compare
|
CI fails because a submodule of a submodule (i.e. |
44cf9a3 to
92d6b71
Compare
#1905 has to be merged first to fix the CI.
resolves #1899