summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeASMCompiler.cmake.in
diff options
context:
space:
mode:
authorNorbert Lange <nolange79@gmail.com>2017-06-27 20:50:04 (GMT)
committerBrad King <brad.king@kitware.com>2017-06-29 17:25:57 (GMT)
commitfea7d69ddeedd72f6a1f8cec5a011696dec832db (patch)
tree1ee4f0a78fdcd60bf7b6d40babfd149d58c06442 /Modules/CMakeASMCompiler.cmake.in
parentd2a8b5cea6baa0508f9935ac2327fcf63f52c21a (diff)
downloadCMake-fea7d69ddeedd72f6a1f8cec5a011696dec832db.zip
CMake-fea7d69ddeedd72f6a1f8cec5a011696dec832db.tar.gz
CMake-fea7d69ddeedd72f6a1f8cec5a011696dec832db.tar.bz2
Store CMAKE_ASM_COMPILER_VERSION persistently
We already do this for other languages like C and CXX.
Diffstat (limited to 'Modules/CMakeASMCompiler.cmake.in')
-rw-r--r--Modules/CMakeASMCompiler.cmake.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/CMakeASMCompiler.cmake.in b/Modules/CMakeASMCompiler.cmake.in
index 7b94d0f..2decc32 100644
--- a/Modules/CMakeASMCompiler.cmake.in
+++ b/Modules/CMakeASMCompiler.cmake.in
@@ -7,8 +7,10 @@ set(CMAKE_ASM@ASM_DIALECT@_COMPILER_RANLIB "@_CMAKE_ASM_COMPILER_RANLIB@")
set(CMAKE_LINKER "@CMAKE_LINKER@")
set(CMAKE_ASM@ASM_DIALECT@_COMPILER_LOADED 1)
set(CMAKE_ASM@ASM_DIALECT@_COMPILER_ID "@_CMAKE_ASM_COMPILER_ID@")
+set(CMAKE_ASM@ASM_DIALECT@_COMPILER_VERSION "@_CMAKE_ASM_COMPILER_VERSION@")
set(CMAKE_ASM@ASM_DIALECT@_COMPILER_ENV_VAR "@_CMAKE_ASM_COMPILER_ENV_VAR@")
set(CMAKE_ASM@ASM_DIALECT@_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
set(CMAKE_ASM@ASM_DIALECT@_LINKER_PREFERENCE 0)
+@CMAKE_ASM_COMPILER_CUSTOM_CODE@