Skip to content

Commit 4f81649

Browse files
committed
Update CMake min
1 parent b42d3ca commit 4f81649

3 files changed

Lines changed: 3 additions & 9 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
1-
cmake_minimum_required(VERSION 3.7)
2-
3-
# Set policy for setting the MSVC runtime library for static MSVC builds
4-
if(POLICY CMP0091)
5-
cmake_policy(SET CMP0091 NEW)
6-
endif()
7-
1+
cmake_minimum_required(VERSION 3.10)
82
project(ctranslate2)
93

104
option(WITH_MKL "Compile with Intel MKL backend" ON)

docs/quickstart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ See the [installation guide](installation.md) for more information.
7979
**2\. Add CTranslate2 to your CMakeLists.txt**
8080

8181
```cmake
82-
cmake_minimum_required (VERSION 2.8.11)
82+
cmake_minimum_required (VERSION 3.10)
8383
project (CTRANSLATE2_DEMO)
8484
8585
find_package(ctranslate2)

examples/wngt2020/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.7)
1+
cmake_minimum_required(VERSION 3.10)
22
project(wngt2020)
33
set(CMAKE_CXX_STANDARD 11)
44
set(CMAKE_BUILD_TYPE Release)

0 commit comments

Comments
 (0)