- 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
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user