MSVC_RUNTIME_LIBRARY Incompatible with ASM_MASM project
If a project contains asm code compiled using ASM_MASM along with cpp code, and you enable policy CMP0091 to modify the MSVC runtime library, the following error occurs:
MSVC_RUNTIME_LIBRARY value 'MultiThreadedDebugDLL' not known for this
ASM_MASM compiler.
Using Visual studio 2019 (16.4.3) and cmake 3.16.0.
Can be reproduced using a simple CMakeLists like so:
cmake_minimum_required(VERSION 3.10)
cmake_policy(SET CMP0091 NEW)
project(test C CXX ASM_MASM)
add_library(test_lib test.asm test.cpp)