mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-07 22:59:56 -05:00
183b9a9eca
Under the CMP0141 NEW behavior added by commit 0e96a20478 (MSVC: Add
abstraction for debug information format, 2022-08-25, v3.25.0-rc1~142^2~1),
the `-Zi` and `-ZI` flags do not appear in `CMAKE_<LANG>_FLAGS_<CONFIG>`
anymore. Teach the PCH REUSE_FROM implementation to recognize the
`EditAndContinue` and `ProgramDatabase` debug information formats
through the policy's new abstraction.
Fixes: #24106
3 lines
65 B
CMake
3 lines
65 B
CMake
cmake_policy(SET CMP0141 NEW)
|
|
include(PchReuseFrom-common.cmake)
|