Use CMAKE_ASM_NASM_FLAGS for nasm instead of FLAGS

Alex
This commit is contained in:
Alex Neundorf 2010-10-21 20:57:14 +02:00
parent e614e9b3d7
commit d25c2eb0c0

View File

@ -36,7 +36,7 @@ else()
endif()
endif()
set(CMAKE_ASM_NASM_COMPILE_OBJECT "<CMAKE_ASM_NASM_COMPILER> <FLAGS> -f ${CMAKE_ASM_NASM_OBJECT_FORMAT} -o <OBJECT> <SOURCE>")
set(CMAKE_ASM_NASM_COMPILE_OBJECT "<CMAKE_ASM_NASM_COMPILER> <CMAKE_ASM_NASM_FLAGS> -f ${CMAKE_ASM_NASM_OBJECT_FORMAT} -o <OBJECT> <SOURCE>")
# Load the generic ASMInformation file:
set(ASM_DIALECT "_NASM")