summaryrefslogtreecommitdiff
path: root/.gitlab-ci/container/debian/x86_mingw-toolchain.cmake
blob: 70da12d38449dd76df60deb778371e747e2264eb (plain)
1
2
3
4
5
6
7
8
set(CMAKE_SYSTEM_NAME Windows)
set(CMAKE_SYSTEM_PROCESSOR x86_64)

set(CMAKE_SYSROOT /usr/x86_64-w64-mingw32/)
set(ENV{PKG_CONFIG} /usr/x86_64-w64-mingw32/bin/pkg-config)

set(CMAKE_C_COMPILER x86_64-w64-mingw32-gcc-posix)
set(CMAKE_CXX_COMPILER x86_64-w64-mingw32-g++-posix)