From 6dafcf3c80451e9d14bbeda85818dd8bd6cfd392 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Mon, 25 Jun 2012 17:57:52 +0200 Subject: [PATCH] * Temporary fix for compiling madness. --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e28900df1..b8097c016 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -35,8 +35,11 @@ IF( CMAKE_SYSTEM_PROCESSOR MATCHES "arm" ) ENDIF() # add definitions based on build options -IF(WITH_BREAKPAD) +IF( WITH_BREAKPAD ) message(STATUS "Build with support for breakpad.") + IF( CMAKE_COMPILER_IS_GNUCXX ) + ADD_DEFINITIONS( -DSTDC_HEADERS -std=gnu++98 ) + ENDIF() ENDIF() # generate version string