11 lines
437 B
CMake
11 lines
437 B
CMake
idf_component_register(
|
|
SRC_DIRS "libssh2/src" # "libssh2/src/threads" "libssh2/src/external"
|
|
INCLUDE_DIRS "libssh2/include"
|
|
PRIV_INCLUDE_DIRS "libssh2/src"
|
|
REQUIRES "mbedtls"
|
|
)
|
|
|
|
|
|
# _3DS is used to have libssh2 provide its own iovec; it doesn't seem to trigger any other behavior for now
|
|
target_compile_options(${COMPONENT_LIB} PRIVATE -Wno-error=format -Wno-error=char-subscripts -DLIBSSH2_MBEDTLS -DHAVE_SYS_SOCKET_H)
|