Skip to content

Commit ba83eaf

Browse files
authored
Merge pull request #464 from FredHaa/fix-build-with-cmake-4.0
Fix build with cmake 4.0
2 parents f6c947d + 78f664f commit ba83eaf

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.1)
1+
cmake_minimum_required(VERSION 3.10)
22

33
if (WIN32)
44
set(Boost_USE_STATIC_LIBS OFF)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[build-system]
2-
requires = ["setuptools", "wheel", "cmake"]
2+
requires = ["setuptools", "wheel", "cmake>=3.10"]

python/BuildStandalone.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.1)
1+
cmake_minimum_required(VERSION 3.10)
22

33
file(GLOB
44
KENLM_PYTHON_STANDALONE_SRCS

0 commit comments

Comments
 (0)