--- previous/cmake/Toolchain-mingw32.cmake 2018/04/24 19:25:10 1.1 +++ previous/cmake/Toolchain-mingw32.cmake 2018/04/24 19:29:44 1.1.1.2 @@ -7,12 +7,13 @@ SET(CMAKE_SYSTEM_NAME Windows) # mingw32 versions of the different tools # (change these depending on your system settings) -SET(CMAKE_C_COMPILER i586-pc-mingw32-gcc) -SET(CMAKE_CXX_COMPILER i586-pc-mingw32-g++) -SET(CMAKE_RC_COMPILER i586-pc-mingw32-windres) +SET(CMAKE_C_COMPILER i586-mingw32msvc-gcc) +SET(CMAKE_CXX_COMPILER i586-mingw32msvc-g++) +SET(CMAKE_RC_COMPILER i586-mingw32msvc-windres) +SET(CMAKE_ASM_COMPILER i586-mingw32msvc-as) # Base directory for the target environment -SET(CMAKE_FIND_ROOT_PATH /usr/i586-pc-mingw32/sys-root/mingw ) +SET(CMAKE_FIND_ROOT_PATH /usr/i586-mingw32msvc/ ) # FindSDL.cmake doesn't search correctly in CMAKE_FIND_ROOT_PATH # so we force SDLDIR here