From f3ea8350a6ba38f74e8d9043cd0f2c8d6661f631 Mon Sep 17 00:00:00 2001 From: Fastigium Date: Tue, 15 Mar 2016 10:47:08 +0100 Subject: [PATCH] Add C++11 compile flag to the carla plugin as well Fixes the carla plugin not compiling anymore after switching to C++11 range-based for loops. --- plugins/carlabase/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/carlabase/CMakeLists.txt b/plugins/carlabase/CMakeLists.txt index 8fdde2ec5..90bc08a36 100644 --- a/plugins/carlabase/CMakeLists.txt +++ b/plugins/carlabase/CMakeLists.txt @@ -1,4 +1,7 @@ if(LMMS_HAVE_CARLA) + # Enable C++11 + ADD_DEFINITIONS(-std=c++0x) + INCLUDE(BuildPlugin) INCLUDE_DIRECTORIES(${CARLA_INCLUDE_DIRS}) LINK_DIRECTORIES(${CARLA_LIBRARY_DIRS})