mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-06 22:30:07 -05:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user