Skip to content

Commit c06c03e

Browse files
committed
fixup! cmake: Add platform-specific definitions and properties
Enable additional security check for MSVC.
1 parent 08b98f0 commit c06c03e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@ if(WIN32)
235235
target_compile_options(core_interface INTERFACE
236236
/utf-8
237237
/Zc:__cplusplus
238+
/sdl
238239
)
239240
# Improve parallelism in MSBuild.
240241
# See: https://devblogs.microsoft.com/cppblog/improved-parallelism-in-msbuild/.

0 commit comments

Comments
 (0)