Skip to content

Commit 92d6b71

Browse files
authored
Revoke policy changes for setting the MSVC runtime library for static MSVC builds
1 parent 4f81649 commit 92d6b71

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
cmake_minimum_required(VERSION 3.10)
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+
28
project(ctranslate2)
39

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

0 commit comments

Comments
 (0)