use set instead of list in cmake for better compatibility
authorKevron Rees <kevron.m.rees@intel.com>
Thu, 2 Oct 2014 15:26:34 +0000 (08:26 -0700)
committerKevron Rees <kevron.m.rees@intel.com>
Thu, 2 Oct 2014 15:26:34 +0000 (08:26 -0700)
CMakeLists.txt
docs/amb.idl

index 0e9d659..b29475e 100644 (file)
@@ -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")
index cea5498..35a7cc5 100644 (file)
@@ -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