Disable CRT deprecation warnings
authorAndre Heinecke <Andre Heinecke aheinecke@intevation.de>
Mon, 9 Aug 2010 08:27:09 +0000 (10:27 +0200)
committerAndre Heinecke <Andre Heinecke aheinecke@intevation.de>
Mon, 9 Aug 2010 08:27:09 +0000 (10:27 +0200)
CMakeLists.txt
ChangeLog

index 0269798..174140d 100644 (file)
@@ -17,6 +17,7 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config.h.in ${CMAKE_CURRENT_BINARY_DI
 add_definitions(-DHAVE_CONFIG_H=1)
 
 if(WIN32)
+add_definitions(-D_CRT_SECURE_NO_WARNINGS)
 add_definitions(-DHAVE_W32_SYSTEM=1)
 add_definitions(-DHAVE_DOSISH_SYSTEM=1)
 endif(WIN32)
index 328f894..3b818ba 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-08-09  Andre Heinecke <aheinecke@intevation.de>
+
+       * CMakelists.txt: Disable some Microsoft-CRT deprecation warnings
+
 2010-06-28  Werner Koch  <wk@g10code.com>
 
        * pinentrydialog.cpp (PinEntryDialog): Disable echo.