asm support: adapt to changes in CMakeDetectCompiler in 2.8.10

This fixes #14210. In 2.8.10 CMakeDetermineCompiler.cmake was
modified (or added), and now the _INIT variable must not
be set to a list anymore, before it worked.

Alex
This commit is contained in:
Alex Neundorf
2013-06-11 21:06:35 +02:00
committed by Brad King
parent 5dd8c01429
commit bc460ea2fc
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -14,7 +14,7 @@
# Find the nasm assembler. yasm (http://www.tortall.net/projects/yasm/) is nasm compatible
set(CMAKE_ASM_NASM_COMPILER_INIT nasm yasm)
set(CMAKE_ASM_NASM_COMPILER_LIST nasm yasm)
if(NOT CMAKE_ASM_NASM_COMPILER)
find_program(CMAKE_ASM_NASM_COMPILER nasm