From 23235772113bcac7926f0b83c2e4d253b6269677 Mon Sep 17 00:00:00 2001 From: Kevron Rees Date: Thu, 2 Oct 2014 08:26:34 -0700 Subject: [PATCH] use set instead of list in cmake for better compatibility --- CMakeLists.txt | 2 +- docs/amb.idl | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0e9d659..b29475e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -43,7 +43,7 @@ option(usebluez5 "use bluez 5 API" OFF) #turn on -fpic/-fpie: set(CMAKE_POSITION_INDEPENDENT_CODE ON) -list(APPEND CMAKE_CXX_FLAGS "-fpie -pie -std=c++11") +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpie -pie -std=c++11") if(opencvlux_plugin) message(STATUS "OpenCV Lux plugin enabled") diff --git a/docs/amb.idl b/docs/amb.idl index cea5498..35a7cc5 100644 --- a/docs/amb.idl +++ b/docs/amb.idl @@ -968,7 +968,11 @@ interface org.automotive.AirbagStatus extends VehiclePropertyType { attribute UInt16 AirbagStatus readonly } -enumeration +enumeration AirbagStatus { + inactive = 0, + active = 1, + deployed = 2 +} /*! * Deprecated. Use "Door". Remove in 0.13 -- 2.7.4