diff --git a/CMakeLists.txt b/CMakeLists.txt index 3c6c8639..4126bee0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.1) +cmake_minimum_required(VERSION 3.10) if (WIN32) set(Boost_USE_STATIC_LIBS OFF) diff --git a/pyproject.toml b/pyproject.toml index cb4fab07..68872ef0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,2 +1,2 @@ [build-system] -requires = ["setuptools", "wheel", "cmake"] +requires = ["setuptools", "wheel", "cmake>=3.10"] diff --git a/python/BuildStandalone.cmake b/python/BuildStandalone.cmake index 47924a60..f4c50c65 100644 --- a/python/BuildStandalone.cmake +++ b/python/BuildStandalone.cmake @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.1) +cmake_minimum_required(VERSION 3.10) file(GLOB KENLM_PYTHON_STANDALONE_SRCS