[geos-commits] r3107 - trunk

svn_geos at osgeo.org svn_geos at osgeo.org
Sun Oct 10 17:07:57 EDT 2010


Author: mloskot
Date: 2010-10-10 14:07:57 -0700 (Sun, 10 Oct 2010)
New Revision: 3107

Modified:
   trunk/CMakeLists.txt
Log:
Added NOMINMAX define for Visual C++

Modified: trunk/CMakeLists.txt
===================================================================
--- trunk/CMakeLists.txt	2010-10-10 20:50:49 UTC (rev 3106)
+++ trunk/CMakeLists.txt	2010-10-10 21:07:57 UTC (rev 3107)
@@ -123,9 +123,9 @@
     endif()
     message(STATUS "Setting Visual Studio 2005+ option /MP to ${GEOS_MSVC_ENABLE_MP}")
     
-    # Disable C4996: 'function': was declared deprecated
     add_definitions(-D_SCL_SECURE_NO_WARNINGS)
     add_definitions(-D_CRT_SECURE_NO_WARNINGS)
+    add_definitions(-DNOMINMAX)
   endif()
 
 endif()



More information about the geos-commits mailing list