summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeDetermineASM-ATTCompiler.cmake
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2013-06-11 19:06:35 (GMT)
committerBrad King <brad.king@kitware.com>2013-06-14 12:54:34 (GMT)
commitbc460ea2fc9223092da2fd65daefaf8eecc16cfb (patch)
tree1f5eff16b889997b7140a8d9a06d2a0a5f7c9426 /Modules/CMakeDetermineASM-ATTCompiler.cmake
parent5dd8c01429da90a7417b72f17e784cc98f70f57c (diff)
downloadCMake-bc460ea2fc9223092da2fd65daefaf8eecc16cfb.zip
CMake-bc460ea2fc9223092da2fd65daefaf8eecc16cfb.tar.gz
CMake-bc460ea2fc9223092da2fd65daefaf8eecc16cfb.tar.bz2
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
Diffstat (limited to 'Modules/CMakeDetermineASM-ATTCompiler.cmake')
-rw-r--r--Modules/CMakeDetermineASM-ATTCompiler.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeDetermineASM-ATTCompiler.cmake b/Modules/CMakeDetermineASM-ATTCompiler.cmake
index cec09e9..03c5668 100644
--- a/Modules/CMakeDetermineASM-ATTCompiler.cmake
+++ b/Modules/CMakeDetermineASM-ATTCompiler.cmake
@@ -15,6 +15,6 @@
# determine the compiler to use for ASM using AT&T syntax, e.g. GNU as
set(ASM_DIALECT "-ATT")
-set(CMAKE_ASM${ASM_DIALECT}_COMPILER_INIT ${_CMAKE_TOOLCHAIN_PREFIX}gas ${_CMAKE_TOOLCHAIN_PREFIX}as)
+set(CMAKE_ASM${ASM_DIALECT}_COMPILER_LIST ${_CMAKE_TOOLCHAIN_PREFIX}gas ${_CMAKE_TOOLCHAIN_PREFIX}as)
include(CMakeDetermineASMCompiler)
set(ASM_DIALECT)