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

@ -2,3 +2,9 @@ set (libname "buzzer")
add_library (buzzer SHARED buzzer.cxx)
include_directories (${MAA_INCLUDE_DIR})
target_link_libraries (buzzer ${MAA_LIBRARIES})
install (TARGETS ${libname} DESTINATION lib/upm COMPONENT ${libname})
install (FILES buzzer.h DESTINATION include/upm COMPONENT ${libname})
cpack_add_component (${libname} DISPLAY_NAME ${libname} REQUIRED INSTALL_TYPES all)
set(CPACK_COMPONENT_${libname}_DESCRIPTION "libupm buzzer")