Silence tl-parser build warning.

This commit is contained in:
levlam 2021-03-04 14:06:32 +03:00
parent a87af24fb9
commit d390c556fe

View File

@ -8,7 +8,7 @@ if (WIN32)
add_definitions("-D_CRT_SECURE_NO_WARNINGS")
list(APPEND SOURCES wgetopt.c wgetopt.h)
if (MSVC)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /utf-8 /wd4101 /wd4244")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /utf-8 /wd4101 /wd4244 /wd4267")
endif()
endif()