mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-18 02:47:50 +08:00
17 lines
445 B
Diff
17 lines
445 B
Diff
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||
|
index dca534962d..bf02ea3425 100644
|
||
|
--- a/CMakeLists.txt
|
||
|
+++ b/CMakeLists.txt
|
||
|
@@ -142,7 +142,11 @@ if(BOOST_CONTEXT_IMPLEMENTATION STREQUAL "fcontext")
|
||
|
enable_language(ASM)
|
||
|
endif()
|
||
|
elseif(BOOST_CONTEXT_ASSEMBLER STREQUAL armasm)
|
||
|
+ if(MSVC)
|
||
|
+ enable_language(ASM_MARMASM)
|
||
|
+ else()
|
||
|
enable_language(ASM_ARMASM)
|
||
|
+ endif()
|
||
|
else()
|
||
|
enable_language(ASM_MASM)
|
||
|
endif()
|