upm: add install options to all current libraries

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
This commit is contained in:
Thomas Ingleby
2014-06-05 15:50:01 +01:00
parent 4896881ea4
commit fdb943c2eb
10 changed files with 56 additions and 0 deletions

View File

@ -37,3 +37,9 @@ if (SWIG_FOUND)
endif ()
endif ()
install (TARGETS ${libname} DESTINATION lib/upm COMPONENT ${libname})
install (FILES hmc5883l.h DESTINATION include/upm COMPONENT ${libname})
cpack_add_component (${libname} DISPLAY_NAME ${libname} REQUIRED INSTALL_TYPES all)
set(CPACK_COMPONENT_${libname}_DESCRIPTION "libupm Digital Compass")