瀏覽代碼

Update : Remove secure warnings from assimp_view.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1173 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
kimmi 13 年之前
父節點
當前提交
1fef449654
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      tools/assimp_view/CMakeLists.txt

+ 3 - 1
tools/assimp_view/CMakeLists.txt

@@ -72,7 +72,9 @@ IF( WIN32 )
 		PATHS 
 		PATHS 
 			"C:/Programme/Microsoft Platform SDK for Windows Server 2003 R2/Lib" 	
 			"C:/Programme/Microsoft Platform SDK for Windows Server 2003 R2/Lib" 	
 		DOC "Path to psdk"
 		DOC "Path to psdk"
-	) 
+	)
+	ADD_DEFINITIONS( -D_SCL_SECURE_NO_WARNINGS )
+	ADD_DEFINITIONS( -D_CRT_SECURE_NO_WARNINGS )
 ENDIF( WIN32 )
 ENDIF( WIN32 )
 
 
 # Link the executable to the Hello library.
 # Link the executable to the Hello library.