mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-14 21:25:42 +08:00
mpp : Add install libmpp.a and libmpp.so
libraries will be installed to ${CMAKE_SOURCE_DIR}/out/lib by default. Building with cmake defination LIB_INSTALL_DIR can override install dir. For example, if you want install to linux system dir, use "cmake -DLIB_INSTALL_DIR=/usr/lib ...". Change-Id: Ie19a768f05f2a53f154a49c2c6032eecdf95f7ed Signed-off-by: Cody Xie <xkd@rock-chips.com>
This commit is contained in:
@@ -57,3 +57,7 @@ add_subdirectory(legacy)
|
||||
|
||||
add_subdirectory(test)
|
||||
|
||||
install(TARGETS mpp mpp_shared
|
||||
ARCHIVE DESTINATION "${LIB_INSTALL_DIR}"
|
||||
LIBRARY DESTINATION "${LIB_INSTALL_DIR}"
|
||||
)
|
||||
|
Reference in New Issue
Block a user