summaryrefslogtreecommitdiff
path: root/Modules/CMakeDetermineASM_NASMCompiler.cmake
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2010-10-21 20:51:46 +0200
committerAlex Neundorf <neundorf@kde.org>2010-10-21 20:51:46 +0200
commite614e9b3d7387b5aa1611f5547744e84b3a0645f (patch)
tree725f3dc658b81f39d42fb4f9eccfb2febd4abed7 /Modules/CMakeDetermineASM_NASMCompiler.cmake
parent79dd9becadd39b518a90bbe4c86cd17a57ab1d54 (diff)
downloadcmake-e614e9b3d7387b5aa1611f5547744e84b3a0645f.tar.gz
Add support for yasm, a nasm compatible assembler
Alex
Diffstat (limited to 'Modules/CMakeDetermineASM_NASMCompiler.cmake')
-rw-r--r--Modules/CMakeDetermineASM_NASMCompiler.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/CMakeDetermineASM_NASMCompiler.cmake b/Modules/CMakeDetermineASM_NASMCompiler.cmake
index 18aa8138fa..d184c0a810 100644
--- a/Modules/CMakeDetermineASM_NASMCompiler.cmake
+++ b/Modules/CMakeDetermineASM_NASMCompiler.cmake
@@ -12,9 +12,9 @@
# (To distribute this file outside of CMake, substitute the full
# License text for the above reference.)
-# Find the nasm assembler
+# Find the nasm assembler. yasm (http://www.tortall.net/projects/yasm/) is nasm compatible
-SET(CMAKE_ASM_NASM_COMPILER_INIT nasm)
+SET(CMAKE_ASM_NASM_COMPILER_INIT nasm yasm)
IF(NOT CMAKE_ASM_NASM_COMPILER)
FIND_PROGRAM(CMAKE_ASM_NASM_COMPILER nasm