From 1e29f8fd2b7baf8ec181f50c36eadce9d1763529 Mon Sep 17 00:00:00 2001 From: Vittorio Cozzolino Date: Thu, 17 Nov 2016 18:13:12 +0100 Subject: [PATCH] Move EXTRA_CXX_FLAGS outside remake_project() Apparently ReMake ignores the EXTRA_CXX_FLAGS defined inside remake_project(...). To temporary fix the issues, I suggest declaring the flags following the standard Cmake approach. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 794ab32..7d720e9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,5 @@ cmake_minimum_required(VERSION 2.6) +SET(CMAKE_CXX_FLAGS "-std=c++11" CACHE STRING "" FORCE) include(ReMake) @@ -15,7 +16,6 @@ remake_project( PREFIX seekthermal- INSTALL /usr HEADER_DESTINATION include/seekthermal - EXTRA_CXX_FLAGS -std=c++11 ) remake_component(