From 1fef449654ccf014bfc50131a681ff70c2c10a42 Mon Sep 17 00:00:00 2001 From: kimmi Date: Sat, 18 Feb 2012 12:43:48 +0000 Subject: [PATCH] Update : Remove secure warnings from assimp_view. git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1173 67173fc5-114c-0410-ac8e-9d2fd5bffc1f --- tools/assimp_view/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/assimp_view/CMakeLists.txt b/tools/assimp_view/CMakeLists.txt index a45713ae6..d207c3e7f 100644 --- a/tools/assimp_view/CMakeLists.txt +++ b/tools/assimp_view/CMakeLists.txt @@ -72,7 +72,9 @@ IF( WIN32 ) PATHS "C:/Programme/Microsoft Platform SDK for Windows Server 2003 R2/Lib" DOC "Path to psdk" - ) + ) + ADD_DEFINITIONS( -D_SCL_SECURE_NO_WARNINGS ) + ADD_DEFINITIONS( -D_CRT_SECURE_NO_WARNINGS ) ENDIF( WIN32 ) # Link the executable to the Hello library.