upm/src/st7735/CMakeLists.txt
Noel Eck 567476b89a 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>
2017-02-06 16:52:27 -08:00

6 lines
162 B
CMake

set (libname "st7735")
set (libdescription "SPI LCD")
set (module_src st7735_gfx.cxx st7735.cxx)
set (module_hpp st7735_gfx.hpp st7735.hpp)
upm_module_init(mraa)