mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-03-03 14:21:47 +00:00
Allow cross-compilation from mingw-w64 using libusb/libusbx 1.0.18
This commit is contained in:
committed by
Philippe Teuwen
parent
c2504e0825
commit
5f71a79b56
@@ -32,11 +32,11 @@ FOREACH(source ${EXAMPLES-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
|
||||
|
||||
Reference in New Issue
Block a user