mirror of
				https://github.com/eclipse/upm.git
				synced 2025-10-30 22:54:44 +03:00 
			
		
		
		
	cmake: Explicit dependency for mraa and interfaces
A handful of modules do not require mraa.  Captured this in
    src/CMakeLists.txt - only add mraa dependency for targets which
    use:
        upm_module_init(mraa ... )
            or
        upm_mixed_module_init(... REQUIRES mraa)
    All sensors which use UPM interfaces (src/interfaces) now
    explicitly add the interfaces target:
        upm_module_init(interfaces ... )
            or
        upm_mixed_module_init(... REQUIRES interfaces)
Signed-off-by: Noel Eck <noel.eck@intel.com>
			
			
This commit is contained in:
		| @@ -2,4 +2,4 @@ set (libname "grovelinefinder") | ||||
| set (libdescription "Grove line finder sensor module") | ||||
| set (module_src ${libname}.cxx) | ||||
| set (module_hpp ${libname}.hpp) | ||||
| upm_module_init() | ||||
| upm_module_init(mraa) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Noel Eck
					Noel Eck