ENH: make this work for older versions of OSX
[cmake.git] / Modules / CMakeDetermineASM_MASMCompiler.cmake
blob3b72e072b8efe34f8f156794316675ba8a7161fc
1 # Find the MS assembler (masm or masm64)
3 SET(ASM_DIALECT "_MASM")
5 # if we are using the 64bit cl compiler, assume we also want the 64bit assembler
6 IF(CMAKE_CL_64)
7    SET(CMAKE_ASM${ASM_DIALECT}_COMPILER_INIT ml64)
8 ELSE(CMAKE_CL_64)
9    SET(CMAKE_ASM${ASM_DIALECT}_COMPILER_INIT ml)
10 ENDIF(CMAKE_CL_64)
12 INCLUDE(CMakeDetermineASMCompiler)
13 SET(ASM_DIALECT)