upm/src/ili9341/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
175 B
CMake

set (libname "ili9341")
set (libdescription "ILI9341 SPI LCD")
set (module_src ili9341_gfx.cxx ili9341.cxx)
set (module_hpp ili9341_gfx.hpp ili9341.hpp)
upm_module_init(mraa)