1
0
mirror of https://git.suyu.dev/suyu/suyu synced 2025-08-23 04:26:46 -05:00

cmake: Specify the compiler on autotools externals

Enables CCache on externals if available.
This commit is contained in:
lat9nq
2021-07-06 12:54:24 -04:00
parent fbb26e6173
commit ef70054367
2 changed files with 4 additions and 0 deletions

View File

@@ -67,6 +67,8 @@ if (MINGW OR (${CMAKE_SYSTEM_NAME} MATCHES "Linux") OR APPLE)
"${LIBUSB_MAKEFILE}"
COMMAND
env
CC="${CMAKE_C_COMPILER}"
CXX="${CMAKE_CXX_COMPILER}"
CFLAGS="${LIBUSB_CFLAGS}"
sh "${LIBUSB_CONFIGURE}"
${LIBUSB_CONFIGURE_ARGS}