Don't enforce the MSVC runtime

This commit is contained in:
ζeh Matt
2024-09-04 18:42:55 +03:00
parent 56ceab4567
commit 4e5d190139
2 changed files with 0 additions and 7 deletions
-6
View File
@@ -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$<$<CONFIG:Debug>:Debug>")
endif()
# Options
option(ZASM_BUILD_TESTS "" ${CMKR_ROOT_PROJECT})
option(ZASM_BUILD_BENCHMARKS "" ${CMKR_ROOT_PROJECT})
-1
View File
@@ -5,7 +5,6 @@ version = "3.25"
[project]
name = "zasm"
languages = ["CXX"]
msvc-runtime = "static"
[options]
ZASM_BUILD_TESTS = "root"