speed-dreams-code/packaging/3rdParty-devel/i686-w64-mingw32.cmake
Xavier Del Campo Romero 8ae4321be6
Introduce i686-w64-mingw32.cmake
This is the i686 counterpart to x86_64-w64-mingw32.cmake, which will be
used to generate 32-bit builds for Windows.
2025-01-12 22:46:40 +01:00

8 lines
326 B
CMake

set(CMAKE_SYSTEM_NAME Windows)
set(CMAKE_SYSTEM_VERSION 7.0)
set(CMAKE_C_COMPILER i686-w64-mingw32-gcc)
set(CMAKE_CXX_COMPILER i686-w64-mingw32-g++)
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)