We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 82a32ef + 5c2394f commit 19ee58bCopy full SHA for 19ee58b
Yubico.NativeShims/CMakeLists.txt
@@ -25,8 +25,9 @@ elseif(NOT MSVC)
25
string(CONCAT CMAKE_SHARED_LINKER_FLAGS ${CMAKE_SHARED_LINKER_FLAGS}
26
" -Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/exports.gnu")
27
else()
28
+#enable control flow guard for windows
29
- " /def:\"${CMAKE_CURRENT_SOURCE_DIR}/exports.msvc\"")
30
+ " /guard:cf /def:\"${CMAKE_CURRENT_SOURCE_DIR}/exports.msvc\"")
31
endif()
32
33
0 commit comments