summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-01-10 19:04:04 (GMT)
committerBrad King <brad.king@kitware.com>2018-01-10 19:04:04 (GMT)
commit6c3f374e99cccc65024dc5a94a410fd46cbad16d (patch)
tree1bbb85e03fd4be22e1e6708cedd2091a01bd6e3d /Modules/Compiler
parentddc4f9a3c05fa24240fde1ba6c0ab28b7d2e91ea (diff)
downloadCMake-6c3f374e99cccc65024dc5a94a410fd46cbad16d.zip
CMake-6c3f374e99cccc65024dc5a94a410fd46cbad16d.tar.gz
CMake-6c3f374e99cccc65024dc5a94a410fd46cbad16d.tar.bz2
MSVC: Avoid warning when enabling ASM language with C compiler
The `CMakeASMInformation` module warns when no compiler-specific module is found for the `ASM` language. Add a minimal `Compiler/MSVC-ASM` module to avoid the warning for MSVC. Fixes: #17532
Diffstat (limited to 'Modules/Compiler')
-rw-r--r--Modules/Compiler/MSVC-ASM.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/Compiler/MSVC-ASM.cmake b/Modules/Compiler/MSVC-ASM.cmake
new file mode 100644
index 0000000..45978c5
--- /dev/null
+++ b/Modules/Compiler/MSVC-ASM.cmake
@@ -0,0 +1 @@
+# This file is loaded when Visual Studio is used for the ASM language.