Merge branch 'release-4-5-patches'
[gromacs/adressmacs.git] / cmake / CMakeDetermineASM-NASMCompiler.cmake
blob047e9229627df926e343dd37bf11bfd1fe279639
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)
13 SET(ASM_DIALECT)