Revision: 5164
          http://sourceforge.net/p/tigervnc/code/5164
Author:   ossman_
Date:     2014-03-19 12:09:17 +0000 (Wed, 19 Mar 2014)
Log Message:
-----------
We don't want to lose the checks performed by assert() in release builds
so make sure we remove NDEBUG. This and the ZRLE boundary fix is based
on work by Tim Waugh for Red Hat.

Modified Paths:
--------------
    branches/1_3/CMakeLists.txt

Modified: branches/1_3/CMakeLists.txt
===================================================================
--- branches/1_3/CMakeLists.txt 2014-03-19 12:06:24 UTC (rev 5163)
+++ branches/1_3/CMakeLists.txt 2014-03-19 12:09:17 UTC (rev 5164)
@@ -63,6 +63,10 @@
 message(STATUS "VERSION = ${VERSION}, BUILD = ${BUILD}")
 add_definitions(-D__BUILD__="${BUILD}")
 
+# We want to keep our asserts even in release builds so remove NDEBUG
+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -UNDEBUG")
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -UNDEBUG")
+
 if(NOT DEFINED BUILD_WINVNC)
   set(BUILD_WINVNC 1)
 endif()

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Tigervnc-commits mailing list
Tigervnc-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-commits

Reply via email to