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:
David Capello 2010-08-25 16:18:46 -03:00
parent d6ac296390
commit 9e1c17f896

View File

@ -3,6 +3,10 @@
include_directories(. libpng zlib)
if(MSVC)
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
endif(MSVC)
add_subdirectory(freetype)
add_subdirectory(jpeg)
add_subdirectory(libart_lgpl)