Commit e614e9b3 authored by Alexander Neundorf's avatar Alexander Neundorf

Add support for yasm, a nasm compatible assembler

Alex
parent 79dd9bec
......@@ -14,7 +14,7 @@
# support for the nasm assembler
set(CMAKE_ASM_NASM_SOURCE_FILE_EXTENSIONS nasm)
set(CMAKE_ASM_NASM_SOURCE_FILE_EXTENSIONS nasm asm)
if(WIN32)
if(CMAKE_C_SIZEOF_DATA_PTR EQUAL 8)
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment