From 7a6be6ff9034820fad170a614fd1305848e40ebb Mon Sep 17 00:00:00 2001 From: "Galvan, Mark" Date: Tue, 29 Sep 2026 12:58:46 -0700 Subject: [PATCH] Add Release /CETCOMPAT to shared link policy for CET shadow-stack compatibility. --- cmake/PresentMonCompiler.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/PresentMonCompiler.cmake b/cmake/PresentMonCompiler.cmake index 1f984c58d..6fd75a10f 100644 --- a/cmake/PresentMonCompiler.cmake +++ b/cmake/PresentMonCompiler.cmake @@ -63,6 +63,7 @@ function(pmon_create_compiler_targets) target_link_options( pmon_release_link_policy INTERFACE + $<$:/CETCOMPAT> $<$:/DEBUG> $<$:/OPT:REF> $<$:/OPT:ICF>