diff options
author | Alex Neundorf <neundorf@kde.org> | 2010-11-17 22:01:36 (GMT) |
---|---|---|
committer | Alex Neundorf <neundorf@kde.org> | 2010-11-17 22:01:36 (GMT) |
commit | e3dfbf62fcd54f582057fcec7a7989ac73712e55 (patch) | |
tree | f0bd802b885c9dd06aaff0cef2a729362970e5fa /Modules/CMakeDetermineASMCompiler.cmake | |
parent | b541b1213ac4bf95a186d9fa753ba2566e598d06 (diff) | |
download | CMake-e3dfbf62fcd54f582057fcec7a7989ac73712e55.zip CMake-e3dfbf62fcd54f582057fcec7a7989ac73712e55.tar.gz CMake-e3dfbf62fcd54f582057fcec7a7989ac73712e55.tar.bz2 |
Include CMakeDetermineCompilerId in CMakeDetermineASMCompiler.cmake (#11467)
CMakeDetermineASMCompiler.cmake relied on that somebody else (usually
during enabling C or CXX) already included that file, and broke if that
was not the case.
Thanks to Louis for the patch
Alex
Diffstat (limited to 'Modules/CMakeDetermineASMCompiler.cmake')
-rw-r--r-- | Modules/CMakeDetermineASMCompiler.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/CMakeDetermineASMCompiler.cmake b/Modules/CMakeDetermineASMCompiler.cmake index 06dd6b8..8353be4 100644 --- a/Modules/CMakeDetermineASMCompiler.cmake +++ b/Modules/CMakeDetermineASMCompiler.cmake @@ -65,6 +65,7 @@ IF(NOT CMAKE_ASM${ASM_DIALECT}_COMPILER_ID) SET(CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDOR_FLAGS_GNU "--version") SET(CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDOR_REGEX_GNU "GNU assembler") + INCLUDE(CMakeDetermineCompilerId) CMAKE_DETERMINE_COMPILER_ID_VENDOR(ASM${ASM_DIALECT}) IF(CMAKE_ASM${ASM_DIALECT}_COMPILER_ID) |