[geos-commits] r2879 - trunk

svn_geos at osgeo.org svn_geos at osgeo.org
Wed Jan 20 18:37:14 EST 2010


Author: mloskot
Date: 2010-01-20 18:37:13 -0500 (Wed, 20 Jan 2010)
New Revision: 2879

Modified:
   trunk/CMakeLists.txt
Log:
Addd extra test for STL classes in std namespace to CMake configuration (#317)

Modified: trunk/CMakeLists.txt
===================================================================
--- trunk/CMakeLists.txt	2010-01-20 23:21:46 UTC (rev 2878)
+++ trunk/CMakeLists.txt	2010-01-20 23:37:13 UTC (rev 2879)
@@ -87,6 +87,11 @@
 # Setup C/C++ library features
 #################################################################################
 
+include(TestForANSIForScope)
+if (CMAKE_NO_ANSI_FOR_SCOPE)
+  message(FATAL_ERROR "Detected compiler does not support std namespace on STL classes")
+endif()
+
 # check header files
 include(CheckIncludeFiles)
 



More information about the geos-commits mailing list