File x.patch of Package mingw64-libusb3380

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4cda8c6..d015d01 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -57,9 +57,9 @@ include_directories(${LIBUSB_1_INCLUDE_DIRS})
 include_directories(.)
 
 set(USB3380_FILES libusb3380.c)
-if(CMAKE_SYSTEM_NAME MATCHES "Windows")
-    set(USB3380_FILES ${USB3380_FILES} xtrx_port.c)
-endif()
+#if(CMAKE_SYSTEM_NAME MATCHES "Windows")
+#    set(USB3380_FILES ${USB3380_FILES} xtrx_port.c)
+#endif()
 
 add_library(usb3380 SHARED ${USB3380_FILES})
 target_link_libraries(usb3380 ${LIBUSB_1_LIBRARIES} ${SYSTEM_LIBS})
openSUSE Build Service is sponsored by