Compilation fixes for Mingw64 (MSYS2) (#4899)

fix compilation on mingw
This commit is contained in:
jmatich
2018-08-29 14:27:10 +03:00
committed by kd-11
parent 37ee0a2f55
commit b5dbd44087
11 changed files with 78 additions and 41 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ if(APPLE)
#list(APPEND LIBS hidapi)
elseif(CMAKE_SYSTEM MATCHES "Linux")
add_subdirectory(3rdparty/hidapi/linux EXCLUDE_FROM_ALL)
elseif(MSVC)
elseif(WIN32)
add_subdirectory(3rdparty/hidapi/windows EXCLUDE_FROM_ALL)
else()
add_subdirectory(3rdparty/hidapi/libusb EXCLUDE_FROM_ALL)