mingw: remember to set AR and RANLIB
This commit is contained in:
parent
002f202604
commit
5552af23b9
@ -3,6 +3,8 @@ set(TOOLCHAIN_PREFIX x86_64-w64-mingw32)
|
|||||||
|
|
||||||
set(CMAKE_C_COMPILER ${TOOLCHAIN_PREFIX}-gcc)
|
set(CMAKE_C_COMPILER ${TOOLCHAIN_PREFIX}-gcc)
|
||||||
set(CMAKE_CXX_COMPILER ${TOOLCHAIN_PREFIX}-g++)
|
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_COMPILER ${TOOLCHAIN_PREFIX}-windres)
|
||||||
set(CMAKE_RC_FLAGS -DGCC_WINDRES)
|
set(CMAKE_RC_FLAGS -DGCC_WINDRES)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user