diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 2f1ff89..6b6d3c1 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -1,3 +1,5 @@ +collect(PROJECT_LIB_DEPS metal) + add_subdirectory (system) # vim: expandtab:ts=2:sw=2:smartindent diff --git a/examples/system/generic/zynqmp_r5/CMakeLists.txt b/examples/system/generic/zynqmp_r5/CMakeLists.txt index 6e36f2b..ab520a8 100644 --- a/examples/system/generic/zynqmp_r5/CMakeLists.txt +++ b/examples/system/generic/zynqmp_r5/CMakeLists.txt @@ -1 +1,6 @@ + +collect(PROJECT_LIB_DEPS xil) +collect(PROJECT_LIB_DEPS c) +collect(PROJECT_LIB_DEPS m) + add_subdirectory(zynqmp_amp_demo) diff --git a/examples/system/generic/zynqmp_r5/zynqmp_amp_demo/CMakeLists.txt b/examples/system/generic/zynqmp_r5/zynqmp_amp_demo/CMakeLists.txt index 1aff6dd..7aba903 100644 --- a/examples/system/generic/zynqmp_r5/zynqmp_amp_demo/CMakeLists.txt +++ b/examples/system/generic/zynqmp_r5/zynqmp_amp_demo/CMakeLists.txt @@ -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)