mirror of
https://github.com/justdan96/tsMuxer.git
synced 2026-10-16 20:21:48 +08:00
if(MSVC) add_definitions(-D_CRT_SECURE_NO_WARNINGS)
To prevent compiler warnings on the unsafe/deprecated methods strcpy, strncpy, gmtime, localtime... gcc does not accept the safe _s method alternatives.
This commit is contained in:
@@ -35,6 +35,7 @@ endif()
|
||||
|
||||
if(MSVC)
|
||||
add_compile_options("/utf-8")
|
||||
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
|
||||
endif()
|
||||
|
||||
if(WIN32)
|
||||
|
||||
Reference in New Issue
Block a user