mirror of
https://github.com/eclipse/upm.git
synced 2025-07-01 01:11:10 +03:00
upm: add protection around function for packaging
* Would not build if not building IPK. Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
This commit is contained in:
@ -6,5 +6,7 @@ target_link_libraries (servo ${MAA_LIBRARIES})
|
||||
install (TARGETS ${libname} DESTINATION lib/upm COMPONENT ${libname})
|
||||
install (FILES servo.h DESTINATION include/upm COMPONENT ${libname})
|
||||
|
||||
cpack_add_component (${libname} DISPLAY_NAME ${libname} REQUIRED INSTALL_TYPES all)
|
||||
set(CPACK_COMPONENT_${libname}_DESCRIPTION "libupm servo")
|
||||
if (IPK)
|
||||
cpack_add_component (${libname} DISPLAY_NAME ${libname} REQUIRED INSTALL_TYPES all)
|
||||
set(CPACK_COMPONENT_${libname}_DESCRIPTION "libupm servo")
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user