mirror of
https://github.com/OpenAMP/libmetal.git
synced 2026-09-26 20:38:28 +08:00
example: generic: Add dependent libs
Add dependent libs in the CMAke file of generic examples. Signed-off-by: Wendy Liang <jliang@xilinx.com>
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
collect(PROJECT_LIB_DEPS metal)
|
||||
|
||||
add_subdirectory (system)
|
||||
|
||||
# vim: expandtab:ts=2:sw=2:smartindent
|
||||
|
||||
@@ -1 +1,6 @@
|
||||
|
||||
collect(PROJECT_LIB_DEPS xil)
|
||||
collect(PROJECT_LIB_DEPS c)
|
||||
collect(PROJECT_LIB_DEPS m)
|
||||
|
||||
add_subdirectory(zynqmp_amp_demo)
|
||||
|
||||
@@ -4,6 +4,11 @@ include_directories (${_list} ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
collector_list (_list PROJECT_LIB_DIRS)
|
||||
link_directories (${_list})
|
||||
|
||||
collect(PROJECT_LIB_DEPS metal)
|
||||
collect(PROJECT_LIB_DEPS xil)
|
||||
collect(PROJECT_LIB_DEPS c)
|
||||
collect(PROJECT_LIB_DEPS m)
|
||||
|
||||
collector_list (_deps PROJECT_LIB_DEPS)
|
||||
|
||||
set (_linker_script ${CMAKE_CURRENT_SOURCE_DIR}/lscript.ld)
|
||||
|
||||
Reference in New Issue
Block a user