Update CMakeLists.txt
authorCody Jackson <JacksonTech@users.noreply.github.com>
Wed, 24 Apr 2019 18:00:17 +0000 (11:00 -0700)
committerjeremyk-lunarg <jeremyk@lunarg.com>
Wed, 24 Apr 2019 19:07:19 +0000 (13:07 -0600)
commitf8d925987ba7e60ae99e9c4cc50a7df326ecdf16
tree8fb36c4b8f69f15d1776956188a8b3ae3d58a68a
parenta50b72c09701b905f8ffe66a14f0a1e455b8e851
Update CMakeLists.txt

Adds Control Flow Guard compiler flag to vulkaninfo

Control Flow Guard (CG) protects against some forms of memory corruption.
See https://docs.microsoft.com/en-us/windows/desktop/secbp/control-flow-guard for details.

This compiler flag enables CFG on vulkaninfo. (CFG is already enabled on the Cube project.)

Enabling CFG is a low-risk, "set and forget" low hanging fruit for security hardening.
vulkaninfo/CMakeLists.txt