summaryrefslogtreecommitdiff
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-12-15 11:48:10 -0500
committerBrad King <brad.king@kitware.com>2022-12-15 11:53:11 -0500
commit98ba122a30221d7bbbf1c2184982606e1b6e8d9d (patch)
tree3fe88fdc745246bf1c97a1ee861251920a13455f /Tests
parent2d3ed58ceec216417d50d6cdf45120c218cdcf18 (diff)
downloadcmake-98ba122a30221d7bbbf1c2184982606e1b6e8d9d.tar.gz
ASM_MASM: Populate MSVC debug information format abstraction table
In commit 0e96a20478 (MSVC: Add abstraction for debug information format, 2022-08-25, v3.25.0-rc1~142^2~1) we overlooked populating the runtime library selection flags for the Microsoft assembler. Its compiler id is `MSVC`, so our generators expect the table to be populated. It only supports `Embedded` debug info. Use empty flags for the other formats. Without this fix, enabling the `ASM_MASM` language with policy `CMP0141` set to `NEW` causes an error due to the missing table entries. Fixes: #24249
Diffstat (limited to 'Tests')
-rw-r--r--Tests/VSMASM/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/VSMASM/CMakeLists.txt b/Tests/VSMASM/CMakeLists.txt
index 2923e15278..603a43bc8f 100644
--- a/Tests/VSMASM/CMakeLists.txt
+++ b/Tests/VSMASM/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.8.12)
+cmake_minimum_required(VERSION 3.25) # Enable CMP0141
project(VSMASM C ASM_MASM)
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
add_definitions(-DTESTx64)