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:
Raphael Coeffic
2025-08-14 16:26:37 +02:00
committed by GitHub
co-authored by raphaelcoeffic
parent 65f1987d6d
commit 89e57df285
3 changed files with 45 additions and 1 deletions
+4
View File
@@ -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()