diff options
author | Brad King <brad.king@kitware.com> | 2009-02-27 18:08:05 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-02-27 18:08:05 (GMT) |
commit | 19d9c824a83b27cd3f875ef8370e8438cc88515c (patch) | |
tree | 01cad26f7c0d61ff58b7e84c358e566583ffa008 /Modules | |
parent | b41c8fe23e522106f932a7f10f6d72dd38879854 (diff) | |
download | CMake-19d9c824a83b27cd3f875ef8370e8438cc88515c.zip CMake-19d9c824a83b27cd3f875ef8370e8438cc88515c.tar.gz CMake-19d9c824a83b27cd3f875ef8370e8438cc88515c.tar.bz2 |
BUG: Fix ASM source file extension default list
This replaces @ASM_DIALECT@ syntax with ${ASM_DIALECT} syntax so it will
be replaced correctly. Patch from Derek Bruening. See issue #8639.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/CMakeASMInformation.cmake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/CMakeASMInformation.cmake b/Modules/CMakeASMInformation.cmake index 95a0645..cef1e78 100644 --- a/Modules/CMakeASMInformation.cmake +++ b/Modules/CMakeASMInformation.cmake @@ -28,9 +28,9 @@ IF(NOT _INCLUDED_FILE) INCLUDE(Platform/${CMAKE_SYSTEM_NAME}-${CMAKE_C_COMPILER_ID}-ASM OPTIONAL) ENDIF(NOT _INCLUDED_FILE) -IF(NOT CMAKE_ASM@ASM_DIALECT@_SOURCE_FILE_EXTENSIONS) - SET(CMAKE_ASM@ASM_DIALECT@_SOURCE_FILE_EXTENSIONS s;S;asm) -ENDIF(NOT CMAKE_ASM@ASM_DIALECT@_SOURCE_FILE_EXTENSIONS) +IF(NOT CMAKE_ASM${ASM_DIALECT}_SOURCE_FILE_EXTENSIONS) + SET(CMAKE_ASM${ASM_DIALECT}_SOURCE_FILE_EXTENSIONS s;S;asm) +ENDIF(NOT CMAKE_ASM${ASM_DIALECT}_SOURCE_FILE_EXTENSIONS) IF(NOT CMAKE_ASM${ASM_DIALECT}_COMPILE_OBJECT) SET(CMAKE_ASM${ASM_DIALECT}_COMPILE_OBJECT "<CMAKE_ASM${ASM_DIALECT}_COMPILER> <FLAGS> -o <OBJECT> <SOURCE>") |