From d5fdfd41c17e43c427e25068b94057cb8ee060a1 Mon Sep 17 00:00:00 2001 From: Diederick Niehorster Date: Thu, 15 Mar 2012 03:07:57 +0000 Subject: [PATCH] no need for a message on MSVC that we hide insecure CRT warnings git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1138 7f0cb862-5218-0410-a997-914c9d46530a --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fd27a7f..7c4f202 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -152,7 +152,7 @@ IF (NOT WIN32) ENDIF() IF(WIN32) - MESSAGE(WARNING "Insecure CRT warnings hidden (might want to fix these)") + # hide insecure CRT warnings, common practice ADD_DEFINITIONS(-D_CRT_SECURE_NO_WARNINGS) ENDIF() -- 1.7.10.4