supercollider / hidapi

A Simple library for communicating with USB and Bluetooth HID devices on Linux, Mac, and Windows.
http://www.signal11.us/oss/hidapi/
Other
13 stars 14 forks source link

cmake: bump to 3.0, use modern project() syntax #10

Closed mossheim closed 6 years ago

mossheim commented 6 years ago

On CMake 3.11, this project currently produces the following warning:

CMake Deprecation Warning at external_libraries/hidapi/CMakeLists.txt:3 (cmake_policy):
  The OLD behavior for policy CMP0048 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.

since we're bumping the main project cmake minimum to 3.5, bumping the minimum here to 3.0 should be fine.

mossheim commented 6 years ago

Now that https://github.com/supercollider/supercollider/pull/3656 has been merged, this is OK to merge, and the submodule pointer can be updated in the main repo.