mirror of
https://github.com/eclipse/upm.git
synced 2025-07-01 17:31:13 +03:00
ledbar: rename to my9221
* Use new cmake macro Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
This commit is contained in:
@ -1,13 +0,0 @@
|
||||
set (libname "ledbar")
|
||||
add_library (ledbar SHARED my9221.cxx)
|
||||
include_directories (${MAA_INCLUDE_DIR})
|
||||
target_link_libraries (ledbar ${MAA_LIBRARIES})
|
||||
|
||||
install (TARGETS ${libname} DESTINATION lib/upm COMPONENT ${libname})
|
||||
install (FILES my9221.h DESTINATION include/upm COMPONENT ${libname})
|
||||
|
||||
if (IPK)
|
||||
cpack_add_component (${libname} DISPLAY_NAME ${libname} REQUIRED INSTALL_TYPES all)
|
||||
set(CPACK_COMPONENT_${libname}_DESCRIPTION "libupm LEDBAR")
|
||||
endif()
|
||||
|
4
src/my9221/CMakeLists.txt
Normal file
4
src/my9221/CMakeLists.txt
Normal file
@ -0,0 +1,4 @@
|
||||
set (libname "my9221")
|
||||
set (libdecription "upm ledbar")
|
||||
add_library (${libname} SHARED my9221.cxx)
|
||||
upm_module_init()
|
Reference in New Issue
Block a user