Skip to content

Commit 973ca09

Browse files
committed
Set CMP0091 policy to enable MSVC runtime library selection
1 parent 1955edb commit 973ca09

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
cmake_minimum_required(VERSION 3.21)
22

3+
if(POLICY CMP0091)
4+
cmake_policy(SET CMP0091 NEW)
5+
endif()
6+
37
project(VEFontCache LANGUAGES C CXX)
48

59
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded")

0 commit comments

Comments
 (0)