mirror of
https://github.com/DaveGamble/cJSON.git
synced 2026-11-06 15:51:31 +00:00
Support default __stdcall calling convention on tests as well
This commit is contained in:
1 parent
ad2cb5b7ea
commit
f25b8448e4
18 files changed
+21
-19
No files matched your search
@@ -49,6 +49,8 @@ if (ENABLE_CUSTOM_COMPILER_FLAGS)
|
||||
-Wswitch-enum
|
||||
)
|
||||
elseif("${CMAKE_C_COMPILER_ID}" STREQUAL "MSVC")
|
||||
# Disable warning c4001 - nonstandard extension 'single line comment' was used
|
||||
# Define _CRT_SECURE_NO_WARNINGS to disable deprecation warnings for "insecure" C library functions
|
||||
list(APPEND custom_compiler_flags
|
||||
/GS
|
||||
/Za
|
||||
|
||||
Reference in new issue
Block a user