- Remove crt- and secure-warnings for VC8.0 in cmake enviroment.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@391 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
pull/1/head
kimmi 2009-04-18 11:24:00 +00:00
parent 0ec4348188
commit ea085bddd1
1 changed files with 6 additions and 0 deletions

View File

@ -556,3 +556,9 @@ ADD_LIBRARY( assimp SHARED
)
ADD_DEFINITIONS(-DASSIMP_BUILD_DLL_EXPORT)
if (WIN32)
if ( MSVC80 )
ADD_DEFINITIONS( -D_SCL_SECURE_NO_WARNINGS )
ADD_DEFINITIONS( -D_CRT_SECURE_NO_WARNINGS )
endif( MSVC80 )
endif (WIN32)