[geos-commits] r3502 - trunk

svn_geos at osgeo.org svn_geos at osgeo.org
Tue Oct 18 20:45:17 EDT 2011


Author: mloskot
Date: 2011-10-18 17:45:17 -0700 (Tue, 18 Oct 2011)
New Revision: 3502

Modified:
   trunk/CMakeLists.txt
Log:
Fixed CMAKE_CXX_FLAGS overridind -std=gnu++0x (#489)

Modified: trunk/CMakeLists.txt
===================================================================
--- trunk/CMakeLists.txt	2011-10-18 22:12:14 UTC (rev 3501)
+++ trunk/CMakeLists.txt	2011-10-19 00:45:17 UTC (rev 3502)
@@ -93,7 +93,7 @@
 if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX)
 
   # General options
-  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pedantic -ansi")
+  set(CMAKE_CXX_FLAGS "-pedantic -ansi ${CMAKE_CXX_FLAGS}")
 
   # Numerical stability
   if(GEOS_ENABLE_FLOATSTORE)



More information about the geos-commits mailing list