This is an automated email from the ASF dual-hosted git repository. ccollins pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mynewt-mcumgr.git
commit b3c89740928059051bc04d72f7b2640939014d0f Author: Christopher Collins <ccoll...@apache.org> AuthorDate: Wed Feb 14 14:53:20 2018 -0800 smp_svr (Zephyr) - Conditionally link ext libs. This makes it so that the user does not need to modify the CMakeLists.txt file when they enable or disable mcumgr settings. Prior to this commit, the list of linked libraries needed to reflect exactly what was required by mcumgr. --- samples/smp_svr/zephyr/CMakeLists.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/samples/smp_svr/zephyr/CMakeLists.txt b/samples/smp_svr/zephyr/CMakeLists.txt index cb73e5b..80f09f0 100644 --- a/samples/smp_svr/zephyr/CMakeLists.txt +++ b/samples/smp_svr/zephyr/CMakeLists.txt @@ -23,7 +23,5 @@ target_sources(app PRIVATE src/main.c ) -zephyr_link_libraries( - NFFS - mbedTLS -) +zephyr_link_libraries_ifdef(CONFIG_FILE_SYSTEM_NFFS NFFS) +zephyr_link_libraries_ifdef(CONFIG_MBEDTLS mbedTLS) -- To stop receiving notification emails like this one, please contact ccoll...@apache.org.