CMP0194: Fix policy number in warning text

This commit is contained in:
Jocó Mihalicza
2026-07-07 07:51:31 +02:00
committed by Brad King
parent 4a4725cc94
commit 2eb1361cc2
2 changed files with 3 additions and 3 deletions

View File

@@ -579,7 +579,7 @@ class cmMakefile;
"GNUInstallDirs caches CMAKE_INSTALL_* with leading 'usr/' for " \
"install prefix '/'.", \
4, 1, 0, WARN) \
SELECT(POLICY, CMP194, "MSVC is not an assembler for language ASM.", 4, 1, \
SELECT(POLICY, CMP0194, "MSVC is not an assembler for language ASM.", 4, 1, \
0, WARN) \
SELECT( \
POLICY, CMP0195, \

View File

@@ -1,7 +1,7 @@
^CMake Warning \(dev\) at [^
]*/Modules/CMakeDetermineASMCompiler.cmake:[0-9]+ \(message\):
Policy CMP194 is not set: MSVC is not an assembler for language ASM\. Run
"cmake --help-policy CMP194" for policy details\. Use the cmake_policy
Policy CMP0194 is not set: MSVC is not an assembler for language ASM\. Run
"cmake --help-policy CMP0194" for policy details\. Use the cmake_policy
command to set the policy and suppress this warning\.
Call Stack \(most recent call first\):
CMP0194-common\.cmake:[0-9]+ \(enable_language\)