From 9b6167b415d704c80a3303418a7c79d5ed0482ff Mon Sep 17 00:00:00 2001 From: Volodymyr Kozieiev Date: Thu, 13 Sep 2018 18:59:52 +0300 Subject: [PATCH] Added C++11 support --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 76f3724..b5199c0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,6 +8,9 @@ cmake_minimum_required(VERSION 3.1.0) project(libbreakpad) +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c11") + # external breakpad repo set(BREAKPAD_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/breakpad) include_directories ("${BREAKPAD_SOURCE_DIR}/src")