[geos-commits] r3503 - branches/3.3

svn_geos at osgeo.org svn_geos at osgeo.org
Tue Oct 18 20:47:10 EDT 2011


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

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

Modified: branches/3.3/CMakeLists.txt
===================================================================
--- branches/3.3/CMakeLists.txt	2011-10-19 00:45:17 UTC (rev 3502)
+++ branches/3.3/CMakeLists.txt	2011-10-19 00:47:10 UTC (rev 3503)
@@ -94,7 +94,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