1set (libname "adafruitms1438") 2set (libdescription "upm module for the Adafruit Motor Shield 1438") 3set (module_src ${libname}.cxx) 4set (module_h ${libname}.h) 5set (reqlibname "upm-pca9685") 6include_directories("../pca9685") 7upm_module_init() 8add_dependencies(${libname} pca9685) 9target_link_libraries(${libname} pca9685) 10if (BUILDSWIG) 11 if (BUILDSWIGNODE) 12 swig_link_libraries (jsupm_${libname} pca9685 ${MRAA_LIBRARIES} ${NODE_LIBRARIES}) 13 endif() 14 if (BUILDSWIGPYTHON) 15 swig_link_libraries (pyupm_${libname} pca9685 ${PYTHON_LIBRARIES} ${MRAA_LIBRARIES}) 16 endif() 17endif() 18