mirror of
https://github.com/eclipse/upm.git
synced 2025-11-06 18:14:45 +03:00
light: Added light sensor C source
Added the C source for the light sensor with necessary changes to cmake,
examples, docs.
* Renamed all files with grovelight to light
* Replaced all instances of grovelight with light
* Added C source for light sensor
* Updated all cmake files
* Added C example for light sensor
* Split out light sensor from grove library
Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
@@ -309,7 +309,7 @@ macro(upm_module_init)
|
||||
endif (IS_C_LIBRARY)
|
||||
|
||||
link_directories (${MRAA_LIBDIR})
|
||||
add_library (${libname} SHARED ${module_src})
|
||||
add_library (${libname} SHARED ${module_src} ${module_hpp})
|
||||
foreach (linkflag ${ARGN})
|
||||
target_link_libraries (${libname} ${linkflag})
|
||||
endforeach ()
|
||||
|
||||
Reference in New Issue
Block a user