Silence tl-parser build warning.
This commit is contained in:
parent
a87af24fb9
commit
d390c556fe
@ -8,7 +8,7 @@ if (WIN32)
|
|||||||
add_definitions("-D_CRT_SECURE_NO_WARNINGS")
|
add_definitions("-D_CRT_SECURE_NO_WARNINGS")
|
||||||
list(APPEND SOURCES wgetopt.c wgetopt.h)
|
list(APPEND SOURCES wgetopt.c wgetopt.h)
|
||||||
if (MSVC)
|
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()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user