mirror of https://git.suyu.dev/suyu/suyu
cmake: Specify the compiler on autotools externals
Enables CCache on externals if available.
This commit is contained in:
parent
fbb26e6173
commit
ef70054367
|
@ -605,6 +605,8 @@ if (YUZU_USE_BUNDLED_FFMPEG)
|
||||||
--disable-vdpau
|
--disable-vdpau
|
||||||
--enable-decoder=h264
|
--enable-decoder=h264
|
||||||
--enable-decoder=vp9
|
--enable-decoder=vp9
|
||||||
|
--cc="${CMAKE_C_COMPILER}"
|
||||||
|
--cxx="${CMAKE_CXX_COMPILER}"
|
||||||
WORKING_DIRECTORY
|
WORKING_DIRECTORY
|
||||||
${FFmpeg_BUILD_DIR}
|
${FFmpeg_BUILD_DIR}
|
||||||
)
|
)
|
||||||
|
|
|
@ -67,6 +67,8 @@ if (MINGW OR (${CMAKE_SYSTEM_NAME} MATCHES "Linux") OR APPLE)
|
||||||
"${LIBUSB_MAKEFILE}"
|
"${LIBUSB_MAKEFILE}"
|
||||||
COMMAND
|
COMMAND
|
||||||
env
|
env
|
||||||
|
CC="${CMAKE_C_COMPILER}"
|
||||||
|
CXX="${CMAKE_CXX_COMPILER}"
|
||||||
CFLAGS="${LIBUSB_CFLAGS}"
|
CFLAGS="${LIBUSB_CFLAGS}"
|
||||||
sh "${LIBUSB_CONFIGURE}"
|
sh "${LIBUSB_CONFIGURE}"
|
||||||
${LIBUSB_CONFIGURE_ARGS}
|
${LIBUSB_CONFIGURE_ARGS}
|
||||||
|
|
Loading…
Reference in New Issue