Addressed last remaining warning under MSVC caused by use of 'deprecated' fopen.

pull/1435/head
Jared Mulconry 2017-09-15 18:27:59 +10:00
parent b9cfff8fac
commit 94a6fc78f4
1 changed files with 5 additions and 0 deletions

View File

@ -8,6 +8,11 @@ set( IrrXML_SRCS
irrXML.h
)
if ( MSVC )
ADD_DEFINITIONS( -D_SCL_SECURE_NO_WARNINGS )
ADD_DEFINITIONS( -D_CRT_SECURE_NO_WARNINGS )
endif ( MSVC )
add_library(IrrXML STATIC ${IrrXML_SRCS})
set(IRRXML_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}" CACHE INTERNAL "IrrXML_Include" )
set(IRRXML_LIBRARY "IrrXML" CACHE INTERNAL "IrrXML" )