Explorar el Código

libusb: Fix include dirs (#2966)

#2926 broke `#include "libusb.h"` which is used in samples by libusb and other libs depending on it
Jérôme Leclercq hace 1 año
padre
commit
593c17be90
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      packages/l/libusb/xmake.lua

+ 2 - 0
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())