diff --git a/CMakeLists.txt b/CMakeLists.txt index 4972e873..6e08aa5b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,19 +7,6 @@ else() cmake_policy(VERSION 3.11) endif() -if (NOT ${CMAKE_VERSION} VERSION_LESS 3.15) - # Set policy to accept MSVC runtime selector (requires CMake >= 3.15) - cmake_policy (SET CMP0091 NEW) - option(MSVC_BUILD_STATIC "Enable building with static CRT." OFF) - if (MSVC_BUILD_STATIC) - set (CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$:Debug>") - message (STATUS "Building with static CRT.") - else() - set (CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$:Debug>DLL") - message (STATUS "Building with dynamic CRT.") - endif() -endif() - # Determine if fmt is built as a subproject (using add_subdirectory) # or if it is the master project. set(MASTER_PROJECT OFF)