pkubat / rpms / pgRouting

Forked from rpms/pgRouting 5 years ago
Clone
Blob Blame History Raw
--- pgrouting-1.05/CMakeLists.txt	2010-11-17 03:42:21.000000000 +0100
+++ pgrouting-1.05-flags/CMakeLists.txt	2011-03-08 19:13:48.752826398 +0100
@@ -85,8 +85,8 @@
   LINK_LIBRARIES(postgres)
 ENDIF(WIN32)
 
-SET(CMAKE_C_FLAGS "-O2 -g -frounding-math")
-SET(CMAKE_CXX_FLAGS "-O2 -g -frounding-math")
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -frounding-math")
+SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -frounding-math")
 
 # Recurse into the subdirectories.  This does not actually
 # cause another cmake executable to run.  The same process will walk through