From 4e5d1901396a6eb8a674a0d95fc176de395a6660 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CE=B6eh=20Matt?= <5415177+ZehMatt@users.noreply.github.com> Date: Wed, 4 Sep 2024 18:42:55 +0300 Subject: [PATCH] Don't enforce the MSVC runtime --- CMakeLists.txt | 6 ------ cmake.toml | 1 - 2 files changed, 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 51e712e..87ca297 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -24,12 +24,6 @@ if(CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR) configure_file(cmake.toml cmake.toml COPYONLY) endif() -# Enable support for MSVC_RUNTIME_LIBRARY -cmake_policy(SET CMP0091 NEW) -if(NOT DEFINED CMAKE_MSVC_RUNTIME_LIBRARY) - set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$:Debug>") -endif() - # Options option(ZASM_BUILD_TESTS "" ${CMKR_ROOT_PROJECT}) option(ZASM_BUILD_BENCHMARKS "" ${CMKR_ROOT_PROJECT}) diff --git a/cmake.toml b/cmake.toml index 3d9d458..871bafd 100644 --- a/cmake.toml +++ b/cmake.toml @@ -5,7 +5,6 @@ version = "3.25" [project] name = "zasm" languages = ["CXX"] -msvc-runtime = "static" [options] ZASM_BUILD_TESTS = "root"