summarylogtreecommitdiffstats
path: root/cmake_c_flags_fix.patch
blob: a759c3bc6063a58555ac55276bb4dbf45981be74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 532d82a..d138803 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,7 +1,7 @@
 cmake_minimum_required(VERSION 2.8)
 project(ser4010 C)
 
-set(CMAKE_C_FLAGS "-Wall")
+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
 
 # Build Options
 set(DEFAULT_SERIAL_DEV "/dev/ttyUSB0" CACHE STRING "Serial device to use by default by the tools if non is specified")