1 # Find the nasm assembler
3 SET(ASM_DIALECT "-NASM")
5 SET(CMAKE_ASM${ASM_DIALECT}_COMPILER_INIT nasm)
7 IF(NOT CMAKE_ASM${ASM_DIALECT}_COMPILER)
8 FIND_PROGRAM(CMAKE_ASM${ASM_DIALECT}_COMPILER nasm
9 "$ENV{ProgramFiles}/NASM")
10 ENDIF(NOT CMAKE_ASM${ASM_DIALECT}_COMPILER)
12 INCLUDE(CMakeDetermineASMCompiler)