From 7a136b8a84f9b21e120efe734f86725c46b8531b Mon Sep 17 00:00:00 2001 From: bunnei Date: Tue, 22 Apr 2014 19:42:29 -0700 Subject: fixes to build on linux --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 6f886b21b..ed678d619 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,9 +2,12 @@ cmake_minimum_required(VERSION 2.6) project(citra) +SET(GCC_COVERAGE_COMPILE_FLAGS "-std=c++11 -fpermissive") + # silence some spam add_definitions(-Wno-attributes) add_definitions(-DSINGLETHREADED) +add_definitions(${GCC_COVERAGE_COMPILE_FLAGS}) # dependency checking set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/CMakeTests) -- cgit v1.2.3