2 # This file is used by EnableLanguage in cmGlobalGenerator to
3 # determine that that selected ASM compiler can actually compile
4 # and link the most basic of programs. If not, a fatal error
5 # is set and cmake stops processing commands and will not generate
6 # any makefiles or projects.
7 IF(CMAKE_ASM${ASM_DIALECT}_COMPILER)
8 SET(CMAKE_ASM${ASM_DIALECT}_COMPILER_WORKS 1 CACHE INTERNAL "")
9 ELSE(CMAKE_ASM${ASM_DIALECT}_COMPILER)
10 SET(CMAKE_ASM${ASM_DIALECT}_COMPILER_WORKS 0 CACHE INTERNAL "")
11 ENDIF(CMAKE_ASM${ASM_DIALECT}_COMPILER)