diff --git a/cmake/dependencies/speex.cmake b/cmake/dependencies/speex.cmake index 8061ec1f..73b6dba9 100644 --- a/cmake/dependencies/speex.cmake +++ b/cmake/dependencies/speex.cmake @@ -26,7 +26,7 @@ if(NOT WIN32 AND USE_SPEEX) file(MAKE_DIRECTORY ${SPEEX_BIN}) add_custom_target(SPEEX_CONFIGURE - COMMAND "${SPEEX_PATH}/configure" --enable-static --disable-shared --disable-binaries CC="${CMAKE_C_COMPILER}" AR="${CMAKE_AR}" + COMMAND "${SPEEX_PATH}/configure" --enable-static --disable-shared --disable-binaries CC="${CMAKE_C_COMPILER}" AR="${CMAKE_AR}" RANLIB="${CMAKE_RANLIB}" DEPENDS ${SPEEX_PATH}/configure BYPRODUCTS ${SPEEX_BIN}/Makefile WORKING_DIRECTORY ${SPEEX_BIN}