diff options
Diffstat (limited to 'Modules/CMakeTestASMCompiler.cmake')
-rw-r--r-- | Modules/CMakeTestASMCompiler.cmake | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Modules/CMakeTestASMCompiler.cmake b/Modules/CMakeTestASMCompiler.cmake index 294511d..9381619 100644 --- a/Modules/CMakeTestASMCompiler.cmake +++ b/Modules/CMakeTestASMCompiler.cmake @@ -19,17 +19,17 @@ # for each assembler on every architecture. -SET(_ASM_COMPILER_WORKS 0) +set(_ASM_COMPILER_WORKS 0) -IF(CMAKE_ASM${ASM_DIALECT}_COMPILER) - SET(_ASM_COMPILER_WORKS 1) -ENDIF() +if(CMAKE_ASM${ASM_DIALECT}_COMPILER) + set(_ASM_COMPILER_WORKS 1) +endif() # when using generic "ASM" support, we must have detected the compiler ID, fail otherwise: -IF("ASM${ASM_DIALECT}" STREQUAL "ASM") - IF(NOT CMAKE_ASM${ASM_DIALECT}_COMPILER_ID) - SET(_ASM_COMPILER_WORKS 0) - ENDIF() -ENDIF() +if("ASM${ASM_DIALECT}" STREQUAL "ASM") + if(NOT CMAKE_ASM${ASM_DIALECT}_COMPILER_ID) + set(_ASM_COMPILER_WORKS 0) + endif() +endif() -SET(CMAKE_ASM${ASM_DIALECT}_COMPILER_WORKS ${_ASM_COMPILER_WORKS} CACHE INTERNAL "") +set(CMAKE_ASM${ASM_DIALECT}_COMPILER_WORKS ${_ASM_COMPILER_WORKS} CACHE INTERNAL "") |