fix(cpn): add dfu-util and libusb to windows build (#6516)
Co-authored-by: raphaelcoeffic <1050031+raphaelcoeffic@users.noreply.github.com>
This commit is contained in:
co-authored by
raphaelcoeffic
parent
65f1987d6d
commit
89e57df285
@@ -21,6 +21,10 @@ if(Qt6Core_FOUND AND NOT DISABLE_COMPANION)
|
||||
find_package(Libusb1)
|
||||
|
||||
if(LIBUSB1_FOUND)
|
||||
if(DEFINED ENV{DFU_UTIL_ROOT_DIR})
|
||||
set(DFU_UTIL_ROOT_DIR "$ENV{DFU_UTIL_ROOT_DIR}")
|
||||
endif()
|
||||
|
||||
find_package(Dfuutil)
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user