# Find the nasm assembler

SET(ASM_DIALECT "_NASM")

SET(CMAKE_ASM${ASM_DIALECT}_COMPILER_INIT nasm)

IF(NOT CMAKE_ASM${ASM_DIALECT}_COMPILER)
    FIND_PROGRAM(CMAKE_ASM${ASM_DIALECT}_COMPILER nasm "$ENV{ProgramFiles}/NASM")
ENDIF(NOT CMAKE_ASM${ASM_DIALECT}_COMPILER)

INCLUDE(CMakeDetermineASMCompiler)
SET(ASM_DIALECT)
