File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 2020
2121cmake_minimum_required (VERSION 3.15)
2222
23+ cmake_policy (SET CMP0091 NEW)
24+ set (CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreadedDLL" )
25+
2326#-------------------------------------------------------------------------------
2427# Project options
2528
Original file line number Diff line number Diff line change @@ -22,9 +22,6 @@ if(NOT CPACK_PACKAGE_VERSION)
2222 set (CPACK_PACKAGE_VERSION "master" )
2323endif ()
2424
25- cmake_policy (SET CMP0091 NEW)
26- set (CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreadedDLL" )
27-
2825if (NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES )
2926 message (STATUS "Setting build type to 'Release' as none was specified." )
3027 set (CMAKE_BUILD_TYPE "Release" CACHE STRING
Original file line number Diff line number Diff line change @@ -56,7 +56,6 @@ if(NOT BUILD_SHARED_LIBS)
5656 )
5757endif ()
5858
59- cmake_policy (SET CMP0091 NEW)
6059set (CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreadedDLL" )
6160
6261#------------------------------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments