mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2024-11-25 18:36:27 +00:00
externals: libusb: Call program names not full paths
This commit is contained in:
parent
890acfa2c0
commit
7395cd3124
1 changed files with 4 additions and 4 deletions
8
externals/libusb/CMakeLists.txt
vendored
8
externals/libusb/CMakeLists.txt
vendored
|
@ -55,9 +55,9 @@ if (MINGW OR (${CMAKE_SYSTEM_NAME} MATCHES "Linux"))
|
||||||
OUTPUT
|
OUTPUT
|
||||||
"${LIBUSB_MAKEFILE}"
|
"${LIBUSB_MAKEFILE}"
|
||||||
COMMAND
|
COMMAND
|
||||||
/bin/env
|
env
|
||||||
CFLAGS="${LIBUSB_CFLAGS}"
|
CFLAGS="${LIBUSB_CFLAGS}"
|
||||||
/bin/sh "${LIBUSB_CONFIGURE}"
|
sh "${LIBUSB_CONFIGURE}"
|
||||||
${LIBUSB_CONFIGURE_ARGS}
|
${LIBUSB_CONFIGURE_ARGS}
|
||||||
--srcdir="${LIBUSB_SRC_DIR}"
|
--srcdir="${LIBUSB_SRC_DIR}"
|
||||||
WORKING_DIRECTORY
|
WORKING_DIRECTORY
|
||||||
|
@ -68,7 +68,7 @@ if (MINGW OR (${CMAKE_SYSTEM_NAME} MATCHES "Linux"))
|
||||||
OUTPUT
|
OUTPUT
|
||||||
"${LIBUSB_CONFIGURE}"
|
"${LIBUSB_CONFIGURE}"
|
||||||
COMMAND
|
COMMAND
|
||||||
/bin/sh "${LIBUSB_SRC_DIR}/bootstrap.sh"
|
sh "${LIBUSB_SRC_DIR}/bootstrap.sh"
|
||||||
WORKING_DIRECTORY
|
WORKING_DIRECTORY
|
||||||
"${LIBUSB_SRC_DIR}"
|
"${LIBUSB_SRC_DIR}"
|
||||||
)
|
)
|
||||||
|
@ -77,7 +77,7 @@ if (MINGW OR (${CMAKE_SYSTEM_NAME} MATCHES "Linux"))
|
||||||
OUTPUT
|
OUTPUT
|
||||||
"${LIBUSB_SHARED_LIBRARY_DEST}"
|
"${LIBUSB_SHARED_LIBRARY_DEST}"
|
||||||
COMMAND
|
COMMAND
|
||||||
/bin/cp "${LIBUSB_SHARED_LIBRARY}" "${LIBUSB_SHARED_LIBRARY_DEST}"
|
cp "${LIBUSB_SHARED_LIBRARY}" "${LIBUSB_SHARED_LIBRARY_DEST}"
|
||||||
)
|
)
|
||||||
|
|
||||||
add_custom_target(usb-bootstrap DEPENDS "${LIBUSB_CONFIGURE}")
|
add_custom_target(usb-bootstrap DEPENDS "${LIBUSB_CONFIGURE}")
|
||||||
|
|
Loading…
Reference in a new issue