cmake_minimum_required(VERSION 3.10)
project(tsnet_flutter_library VERSION 0.2.0 LANGUAGES C)

# Bundle the pre-built Go shared library with the Flutter app.
# The .so is built by build_go.sh and placed in this directory.
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/libtailscale.so"
  DESTINATION "${CMAKE_INSTALL_PREFIX}/lib"
  COMPONENT Runtime)
