diff --git a/cmake/toolchain/mingw b/cmake/toolchain/mingw index 22c94da..d7489bd 100644 --- a/cmake/toolchain/mingw +++ b/cmake/toolchain/mingw @@ -3,6 +3,8 @@ set(TOOLCHAIN_PREFIX x86_64-w64-mingw32) set(CMAKE_C_COMPILER ${TOOLCHAIN_PREFIX}-gcc) set(CMAKE_CXX_COMPILER ${TOOLCHAIN_PREFIX}-g++) +set(CMAKE_AR ${TOOLCHAIN_PREFIX}-gcc-ar) +set(CMAKE_RANLIB ${TOOLCHAIN_PREFIX}-gcc-ranlib) set(CMAKE_RC_COMPILER ${TOOLCHAIN_PREFIX}-windres) set(CMAKE_RC_FLAGS -DGCC_WINDRES)