Green Sky
dec0d4ec41
git-subtree-dir: external/sdl/SDL git-subtree-split: b8d91252c6488cf9c645aba447b56bb9dbd9609a
14 lines
368 B
CMake
14 lines
368 B
CMake
set(CMAKE_SYSTEM_NAME Windows)
|
|
set(CMAKE_SYSTEM_PROCESSOR x86)
|
|
|
|
find_program(CMAKE_C_COMPILER NAMES i686-w64-mingw32-gcc)
|
|
find_program(CMAKE_CXX_COMPILER NAMES i686-w64-mingw32-g++)
|
|
|
|
if(NOT CMAKE_C_COMPILER)
|
|
message(FATAL_ERROR "Failed to find CMAKE_C_COMPILER.")
|
|
endif()
|
|
|
|
if(NOT CMAKE_CXX_COMPILER)
|
|
message(FATAL_ERROR "Failed to find CMAKE_CXX_COMPILER.")
|
|
endif()
|