diff options
author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2021-06-03 10:53:01 +0200 |
---|---|---|
committer | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2021-06-03 10:53:01 +0200 |
commit | 7395cd312412116377920509b2cda485db384f46 (patch) | |
tree | c312cb92bb0fd7d424f9f87e3ea9e53b75ed5e8b | |
parent | externals: libusb: Link libusb statically on Linux (diff) | |
download | yuzu-7395cd312412116377920509b2cda485db384f46.tar yuzu-7395cd312412116377920509b2cda485db384f46.tar.gz yuzu-7395cd312412116377920509b2cda485db384f46.tar.bz2 yuzu-7395cd312412116377920509b2cda485db384f46.tar.lz yuzu-7395cd312412116377920509b2cda485db384f46.tar.xz yuzu-7395cd312412116377920509b2cda485db384f46.tar.zst yuzu-7395cd312412116377920509b2cda485db384f46.zip |
-rw-r--r-- | externals/libusb/CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/externals/libusb/CMakeLists.txt b/externals/libusb/CMakeLists.txt index 20a105087..06ce0fba7 100644 --- a/externals/libusb/CMakeLists.txt +++ b/externals/libusb/CMakeLists.txt @@ -55,9 +55,9 @@ if (MINGW OR (${CMAKE_SYSTEM_NAME} MATCHES "Linux")) OUTPUT "${LIBUSB_MAKEFILE}" COMMAND - /bin/env + env CFLAGS="${LIBUSB_CFLAGS}" - /bin/sh "${LIBUSB_CONFIGURE}" + sh "${LIBUSB_CONFIGURE}" ${LIBUSB_CONFIGURE_ARGS} --srcdir="${LIBUSB_SRC_DIR}" WORKING_DIRECTORY @@ -68,7 +68,7 @@ if (MINGW OR (${CMAKE_SYSTEM_NAME} MATCHES "Linux")) OUTPUT "${LIBUSB_CONFIGURE}" COMMAND - /bin/sh "${LIBUSB_SRC_DIR}/bootstrap.sh" + sh "${LIBUSB_SRC_DIR}/bootstrap.sh" WORKING_DIRECTORY "${LIBUSB_SRC_DIR}" ) @@ -77,7 +77,7 @@ if (MINGW OR (${CMAKE_SYSTEM_NAME} MATCHES "Linux")) OUTPUT "${LIBUSB_SHARED_LIBRARY_DEST}" 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}") |