forked from mirror/libbpg
9 lines
312 B
CMake
9 lines
312 B
CMake
# cmake -DCMAKE_TOOLCHAIN_FILE=toolchain-mingw32.cmake
|
|
# this one is important
|
|
SET(CMAKE_SYSTEM_NAME Windows)
|
|
|
|
# specify the cross compiler
|
|
SET(CMAKE_C_COMPILER i686-w64-mingw32-gcc)
|
|
SET(CMAKE_CXX_COMPILER i686-w64-mingw32-g++)
|
|
SET(CMAKE_RC_COMPILER i686-w64-mingw32-windres)
|
|
SET(CMAKE_ASM_YASM_COMPILER yasm)
|