libui: Install the built library into the system root
Some checks failed
continuous-integration/drone/pr Build is failing
Some checks failed
continuous-integration/drone/pr Build is failing
This commit is contained in:
parent
a770b67b08
commit
d10fceda0a
@ -23,3 +23,8 @@ target_compile_options(ui PRIVATE ${COMMON_FLAGS} -fno-threadsafe-statics)
|
|||||||
target_include_directories(ui PUBLIC ${CMAKE_CURRENT_LIST_DIR}/include/)
|
target_include_directories(ui PUBLIC ${CMAKE_CURRENT_LIST_DIR}/include/)
|
||||||
target_include_directories(ui PUBLIC ${LUNA_BASE}/usr/include)
|
target_include_directories(ui PUBLIC ${LUNA_BASE}/usr/include)
|
||||||
target_link_libraries(ui PUBLIC os)
|
target_link_libraries(ui PUBLIC os)
|
||||||
|
|
||||||
|
add_custom_command(
|
||||||
|
TARGET ui
|
||||||
|
COMMAND "${CMAKE_COMMAND}" -E copy ${CMAKE_CURRENT_BINARY_DIR}/libui.a ${LUNA_BASE}/usr/lib/libui.a
|
||||||
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user