-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extraction of downloaded libusb archive failed due to wrong command option formatting since commit a8c1f41.
- Loading branch information
1 parent
629314c
commit 7640daa
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -73,7 +73,7 @@ elseif (WIN32) # Windows | |
|
||
if (NOT LIBUSB_FOUND OR EXISTS "/etc/debian_version") | ||
# Preparations for installing libusb library | ||
find_package(_7zip REQUIRED) | ||
find_package(7zip REQUIRED) | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
Nightwalker-87
Author
Member
|
||
set(LIBUSB_WIN_VERSION 1.0.23) # set libusb version | ||
set(LIBUSB_WIN_ARCHIVE libusb-${LIBUSB_WIN_VERSION}.7z) | ||
set(LIBUSB_WIN_ARCHIVE_PATH ${CMAKE_BINARY_DIR}/${LIBUSB_WIN_ARCHIVE}) | ||
|
@@ -100,8 +100,8 @@ elseif (WIN32) # Windows | |
) | ||
else () | ||
execute_process( | ||
COMMAND ${ZIP_EXECUTABLE} x -y ${LIBUSB_WIN_ARCHIVE_PATH} -o ${LIBUSB_WIN_OUTPUT_FOLDER} | ||
) | ||
COMMAND ${ZIP_EXECUTABLE} x -y ${LIBUSB_WIN_ARCHIVE_PATH} -o${LIBUSB_WIN_OUTPUT_FOLDER} | ||
) # <-- Note the absence of a space character following the -o option! | ||
endif () | ||
|
||
# Find path to libusb library | ||
|
CMake Error at cmake/modules/Find_libusb.cmake:76 (find_package):
By not providing "Find7zip.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "7zip", but
CMake did not find one.