projects
/
platform
/
upstream
/
assimp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9cfff8
)
Addressed last remaining warning under MSVC caused by use of 'deprecated' fopen.
author
Jared Mulconry
<jaredmulconry@gmail.com>
Fri, 15 Sep 2017 08:27:59 +0000
(18:27 +1000)
committer
Jared Mulconry
<jaredmulconry@gmail.com>
Fri, 15 Sep 2017 08:27:59 +0000
(18:27 +1000)
contrib/irrXML/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/contrib/irrXML/CMakeLists.txt
b/contrib/irrXML/CMakeLists.txt
index
980bd99
..
4894197
100644
(file)
--- a/
contrib/irrXML/CMakeLists.txt
+++ b/
contrib/irrXML/CMakeLists.txt
@@
-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" )