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:
cf151b7
)
Added a preprocessor definition for MSVC to silence safety warnings regarding
author
Jared Mulconry
<j.mulconry@atomizergames.com>
Sun, 27 Nov 2016 06:34:34 +0000
(17:34 +1100)
committer
Jared Mulconry
<j.mulconry@atomizergames.com>
Sun, 27 Nov 2016 06:34:34 +0000
(17:34 +1100)
C library functions. This addresses all warnings for MSVC x86 and x64 when
building zlib, tools and viewer as a static lib.
test/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/test/CMakeLists.txt
b/test/CMakeLists.txt
index
038a68d
..
911c2ee
100644
(file)
--- a/
test/CMakeLists.txt
+++ b/
test/CMakeLists.txt
@@
-122,6
+122,10
@@
ELSE( WIN32 )
SET( platform_libs pthread )
ENDIF( WIN32 )
+IF(MSVC)
+ add_definitions(-D_CRT_SECURE_NO_WARNINGS)
+ENDIF(MSVC)
+
target_link_libraries( unit assimp ${platform_libs} )
add_subdirectory(headercheck)