Allow cross-compilation from mingw-w64 using libusb/libusbx 1.0.18

This commit is contained in:
Lucien Judert
2014-01-27 23:30:45 +01:00
committed by Philippe Teuwen
parent c2504e0825
commit 5f71a79b56
8 changed files with 57 additions and 66 deletions

View File

@@ -46,11 +46,11 @@ FOREACH(source ${UTILS-SOURCES})
ENDFOREACH(source)
#install required libraries
IF(WIN32)
IF(WIN32 AND NOT MINGW)
INCLUDE(InstallRequiredSystemLibraries)
CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/cmake/FixBundle.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/FixBundle.cmake @ONLY)
INSTALL(SCRIPT ${CMAKE_CURRENT_BINARY_DIR}/FixBundle.cmake)
ENDIF(WIN32)
ENDIF()
IF(NOT WIN32)
# Manuals for the examples