mirror of https://github.com/libsdl-org/SDL.git
Fix broken mingw i686 buildscript
This commit is contained in:
parent
59d7dd3615
commit
a3bfd5329c
|
|
@ -3,6 +3,7 @@ set(CMAKE_SYSTEM_PROCESSOR x86)
|
||||||
|
|
||||||
find_program(CMAKE_C_COMPILER NAMES i686-w64-mingw32-gcc)
|
find_program(CMAKE_C_COMPILER NAMES i686-w64-mingw32-gcc)
|
||||||
find_program(CMAKE_CXX_COMPILER NAMES i686-w64-mingw32-g++)
|
find_program(CMAKE_CXX_COMPILER NAMES i686-w64-mingw32-g++)
|
||||||
|
find_program(CMAKE_RC_COMPILER NAMES i686-w64-mingw32-windres)
|
||||||
|
|
||||||
if(NOT CMAKE_C_COMPILER)
|
if(NOT CMAKE_C_COMPILER)
|
||||||
message(FATAL_ERROR "Failed to find CMAKE_C_COMPILER.")
|
message(FATAL_ERROR "Failed to find CMAKE_C_COMPILER.")
|
||||||
|
|
@ -11,3 +12,7 @@ endif()
|
||||||
if(NOT CMAKE_CXX_COMPILER)
|
if(NOT CMAKE_CXX_COMPILER)
|
||||||
message(FATAL_ERROR "Failed to find CMAKE_CXX_COMPILER.")
|
message(FATAL_ERROR "Failed to find CMAKE_CXX_COMPILER.")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(NOT CMAKE_RC_COMPILER)
|
||||||
|
message(FATAL_ERROR "Failed to find CMAKE_RC_COMPILER.")
|
||||||
|
endif()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue