# SPDX-License-Identifier: Apache-2.0 if(CONFIG_LIB_SEC) set(ZEPHYR_CURRENT_LIBRARY libsec) add_library(libsec INTERFACE) zephyr_include_directories( include ) target_include_directories(libsec INTERFACE include ) zephyr_library() add_subdirectory(src) zephyr_library_link_libraries(libsec) target_link_libraries(libsec INTERFACE zephyr_interface) endif()