Skip to content

CMake deprecation warning when building the plugin #4

@dst2

Description

@dst2

When building a flutter application containing the dartusbhid plugin, CMake shows a deprecation warning:

PS C:\dartusbhid_plugin_bug> flutter run -d windows
Launching lib\main.dart on Windows in debug mode...
CMake Deprecation Warning at flutter/ephemeral/.plugin_symlinks/dartusbhid/hidapi/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

This issue has been fixed in the underlaying library (libusb/hidapi#663). Could you provide an updated version of the plugin to include this fix?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions