Open steven807 opened 6 years ago
The CMake file here works for Windows (tested with MS Visual C++ x86 build) but it does not seem to be very good for other system. I am not a CMake expert but maybe the following can be a reference. http://developer.intra2net.com/git/?p=libftdi;a=blob;f=cmake/FindUSB1.cmake
Thanks a ton @steven807, couldn't have fixed it without you! I'm on a mac too.
Could reproduce the issue and fix it using the patch suggested by @steven807 on Mojave.
this still works on Catalina! thanks @steven807
A change to compile on Windows broke non-Windows builds (at least on my mac). This change isn't portable to Windows, so I'm not submitting it as a pull request, but I had to make the following changes to build on MacOS (High Sierra):