if(CONFIG_WOLFSSH) zephyr_include_directories(${ZEPHYR_CURRENT_MODULE_DIR}) zephyr_include_directories(${ZEPHYR_CURRENT_MODULE_DIR}/zephyr) zephyr_library_include_directories(${ZEPHYR_CURRENT_MODULE_DIR}) FILE(GLOB wolfssh_sources ${ZEPHYR_CURRENT_MODULE_DIR}/src/*.c) target_sources(app PRIVATE ${wolfssh_sources}) if(CONFIG_WOLFSSH_DEBUG) target_compile_definitions(app PUBLIC DEBUG_WOLFSSH) endif() target_compile_definitions(app PUBLIC WOLFSSH_ZEPHYR) target_compile_definitions(app PUBLIC WOLFSSH_IGNORE_FILE_WARN) target_compile_definitions(app PUBLIC WOLFSSH_NO_TIMESTAMP) endif()