parent
79dd9becad
commit
e614e9b3d7
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
# support for the nasm assembler
|
# 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(WIN32)
|
||||||
if(CMAKE_C_SIZEOF_DATA_PTR EQUAL 8)
|
if(CMAKE_C_SIZEOF_DATA_PTR EQUAL 8)
|
||||||
|
|
|
@ -12,9 +12,9 @@
|
||||||
# (To distribute this file outside of CMake, substitute the full
|
# (To distribute this file outside of CMake, substitute the full
|
||||||
# License text for the above reference.)
|
# 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)
|
IF(NOT CMAKE_ASM_NASM_COMPILER)
|
||||||
FIND_PROGRAM(CMAKE_ASM_NASM_COMPILER nasm
|
FIND_PROGRAM(CMAKE_ASM_NASM_COMPILER nasm
|
||||||
|
|
Loading…
Reference in New Issue