------------------------------------------------------------
revno: 3823
committer: Anton Gladky <[email protected]>
timestamp: Thu 2016-03-24 23:08:26 +0100
message:
  Use explicitly -DNDEBUG instead of CMAKE_CXX_FLAGS_RELEASE
  
  CMAKE_CXX_FLAGS_RELEASE exposes nowadays -DNDEBUG and -O3.
  It looks like -O3 produces some problems expecially with
  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-03-24 22:08:26 +0000
+++ CMakeLists.txt	2016-03-24 22:08:26 +0000
@@ -79,7 +79,7 @@
   SET(CMAKE_BUILD_TYPE Debug)
   ADD_DEFINITIONS("-DYADE_DEBUG -g")
 ELSE (DEBUG)
-  ADD_DEFINITIONS(${CMAKE_CXX_FLAGS_RELEASE})
+  ADD_DEFINITIONS("-DNDEBUG")
 ENDIF (DEBUG)
 
 #===========================================================

_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to