From 4e61d16e4c749403226fc5869d5950640024c09f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Fri, 18 Jan 2019 19:15:57 +0100 Subject: [PATCH] CMake: Keep build system flags MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes builds for cross/sysrooted build systems which set lots of flags to tailor build. Signed-off-by: Andreas Müller --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7380842..1d0e174 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 2.6) project (DrMr) set(LV2_INSTALL_DIR lib/lv2 CACHE PATH "Specifies where the LV2 libraries should be installed") -set(CMAKE_C_FLAGS "-Wall") +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall") # Availble options option(USE_NKNOB "Use custom NKnob widgets for gain/pan instead of Gtk sliders" ON)