libusb: Fix include dirs (#2966)

#2926 broke `#include "libusb.h"` which is used in samples by libusb and other libs depending on it
pull/2955/head
Jérôme Leclercq 11 months ago committed by GitHub
parent 576c2788ae
commit 593c17be90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/l/libusb/xmake.lua

@ -25,6 +25,8 @@ package("libusb")
add_deps("cmake")
add_includedirs("include", "include/libusb-1.0")
on_install("windows", "linux", "macosx", "bsd", "msys", "android", function (package)
local dir = package:resourcefile("libusb-cmake")
os.cp(path.join(dir, "CMakeLists.txt"), os.curdir())

Loading…
Cancel
Save