Skip to content

Commit

Permalink
Set the MSVC RuntimeLibrary properties for ASM_MASM when we use MASM. (
Browse files Browse the repository at this point in the history
  • Loading branch information
jkoritzinsky authored Nov 2, 2020
1 parent 63a877b commit 598426c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions eng/native/configurecompiler.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,10 @@ if (CLR_CMAKE_HOST_WIN32)
set(CMAKE_ASM_COMPILE_OBJECT "<CMAKE_ASM_COMPILER> -g <INCLUDES> <FLAGS> -o <OBJECT> <SOURCE>")
else()
enable_language(ASM_MASM)
set(CMAKE_ASM_MASM_COMPILE_OPTIONS_MSVC_RUNTIME_LIBRARY_MultiThreaded "")
set(CMAKE_ASM_MASM_COMPILE_OPTIONS_MSVC_RUNTIME_LIBRARY_MultiThreadedDLL "")
set(CMAKE_ASM_MASM_COMPILE_OPTIONS_MSVC_RUNTIME_LIBRARY_MultiThreadedDebug "")
set(CMAKE_ASM_MASM_COMPILE_OPTIONS_MSVC_RUNTIME_LIBRARY_MultiThreadedDebugDLL "")
endif()

# Ensure that MC is present
Expand Down

0 comments on commit 598426c

Please sign in to comment.