Files
CMake/Source/cmake.version.manifest.rc
Alexey Rochev 5a919e6601 cmake: Fix CMAKE_HOST_SYSTEM_VERSION when built for MinGW
Due to #23244 our application manifest is not automatically embedded
when built with MinGW tools.  Embed it via an explicit resource file.

Also add `<trustInfo>` to the manifest because MinGW tooling does not
add it automatically as MSVC tooling does.

Fixes: #27152
Issue: #23244
2025-09-01 14:49:35 -04:00

3 lines
93 B
Plaintext

#include <winuser.h>
CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "cmake.version.manifest"