```cmake
message(STATUS "QtSsh subdir: ${CMAKE_CURRENT_LIST_DIR}")
add_subdirectory(${CMAKE_CURRENT_LIST_DIR})
include_directories(${CMAKE_CURRENT_LIST_DIR}/qtssh)
```

Build statically when used as subproject
user
```cmake
message(STATUS "QtSsh subdir: ${CMAKE_CURRENT_LIST_DIR}")
set(BUILD_STATIC ON)
add_subdirectory(${CMAKE_CURRENT_LIST_DIR})
include_directories(${CMAKE_CURRENT_LIST_DIR}/qtssh)
```
assistant