210ac56935d3e91f34fd9ae2e9630cd6b4923b5d
[processor-sdk/open-amp.git] / apps / system / linux / CMakeLists.txt
1 collect (APP_COMMON_SOURCES helper.c)
3 if (WITH_REMOTEPROC_MASTER)
4   message(FATAL_ERROR "Remoteproc master is not currently supported on ${MACHINE}/${SYSTEM}.")
5 else (WITH_REMOTEPROC_MASTER)
6   set (_linker_script "${CMAKE_CURRENT_SOURCE_DIR}/linker_remote.ld")
7 endif (WITH_REMOTEPROC_MASTER)
9 set_property (GLOBAL PROPERTY APP_LINKER_SCRIPT "${_linker_script}")
11 find_library(LIBXIL_LIB NAMES xil PATHS ${CMAKE_FIND_ROOT_PATH})
12 get_filename_component(LIBXIL_LIB_DIR ${LIBXIL_LIB} DIRECTORY)
13 collect(PROJECT_LIB_DIRS ${LIBXIL_LIB_DIR})