← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-pkg/yade/git-trunk] Rev 3891: Back to C++11.

 

------------------------------------------------------------
revno: 3891
committer: Anton Gladky <gladky.anton@xxxxxxxxx>
timestamp: Wed 2016-06-08 19:05:34 +0200
message:
  Back to C++11.
  
  Fails to compile against older CGAL.
modified:
  CMakeLists.txt


--
lp:yade
https://code.launchpad.net/~yade-pkg/yade/git-trunk

Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-pkg/yade/git-trunk/+edit-subscription
=== modified file 'CMakeLists.txt'
--- CMakeLists.txt	2016-06-07 18:48:04 +0000
+++ CMakeLists.txt	2016-06-08 17:05:34 +0000
@@ -72,7 +72,7 @@
   ENDIF()
 ENDIF()
 
-SET(CMAKE_CXX_FLAGS  "${CMAKE_CXX_FLAGS} -fPIC -O2 --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall -std=c++1y ")
+SET(CMAKE_CXX_FLAGS  "${CMAKE_CXX_FLAGS} -fPIC -O2 --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall -std=c++11 ")
 
 IF (DEBUG)
   SET(CMAKE_VERBOSE_MAKEFILE 1)