Skip to content

Commit 1c1ab5d

Browse files
committed
Update CMake min
1 parent b42d3ca commit 1c1ab5d

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

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)

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)