samples: application_development: fix #11074
external_lib using the wrong ar Signed-off-by: Zhang WenChao <zhangwenchao001@gmail.com>
This commit is contained in:
parent
16fe6c5473
commit
93d3065235
1 changed files with 1 additions and 0 deletions
|
|
@ -42,6 +42,7 @@ ExternalProject_Add(
|
|||
make
|
||||
PREFIX=${mylib_build_dir}
|
||||
CC=${CMAKE_C_COMPILER}
|
||||
AR=${CMAKE_AR}
|
||||
CFLAGS=${external_project_cflags}
|
||||
INSTALL_COMMAND "" # This particular build system has no install command
|
||||
BUILD_BYPRODUCTS ${MYLIB_LIB_DIR}/libmylib.a
|
||||
|
|
|
|||
Loading…
Reference in a new issue