set(ASM_DIALECT "_NASM") set(CMAKE_ASM${ASM_DIALECT}_COMPILER ${NASM_EXECUTABLE}) set(CMAKE_ASM${ASM_DIALECT}_COMPILER_INIT ${_CMAKE_TOOLCHAIN_PREFIX}nasm) include(CMakeDetermineASMCompiler) set(ASM_DIALECT)