diff --git a/thirdparty/breakpad/CMakeLists.txt b/thirdparty/breakpad/CMakeLists.txt index 446175f3c..e88a59813 100644 --- a/thirdparty/breakpad/CMakeLists.txt +++ b/thirdparty/breakpad/CMakeLists.txt @@ -7,7 +7,7 @@ set( CMAKE_MODULE_PATH ) if( CMAKE_COMPILER_IS_GNUCXX ) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++98") + ADD_DEFINITIONS( -DSTDC_HEADERS -std=gnu++98 ) endif() if(${CMAKE_BUILD_TYPE} MATCHES "Release")