mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-27 21:19:18 +00:00
Add -D_CRT_SECURE_NO_WARNINGS to third party code so we don't get warnings about "insecure" C functions with MSVC compiler.
This commit is contained in:
parent
d6ac296390
commit
9e1c17f896
4
third_party/CMakeLists.txt
vendored
4
third_party/CMakeLists.txt
vendored
@ -3,6 +3,10 @@
|
|||||||
|
|
||||||
include_directories(. libpng zlib)
|
include_directories(. libpng zlib)
|
||||||
|
|
||||||
|
if(MSVC)
|
||||||
|
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
|
||||||
|
endif(MSVC)
|
||||||
|
|
||||||
add_subdirectory(freetype)
|
add_subdirectory(freetype)
|
||||||
add_subdirectory(jpeg)
|
add_subdirectory(jpeg)
|
||||||
add_subdirectory(libart_lgpl)
|
add_subdirectory(libart_lgpl)
|
||||||
|
Loading…
Reference in New Issue
Block a user