cl: Don't use device_infos if num_device_infos == 0
[piglit.git] / .gitlab-ci / mingw64.cmake
blob36b920dc9f1922f27370927375fb4e7cc2c0cbe2
1 set (CMAKE_SYSTEM_NAME Windows)
2 set (CMAKE_C_COMPILER x86_64-w64-mingw32-gcc)
3 set (CMAKE_CXX_COMPILER x86_64-w64-mingw32-g++)
4 set (CMAKE_RC_COMPILER x86_64-w64-mingw32-windres)
5 set (CMAKE_FIND_ROOT_PATH /usr/x86_64-w64-mingw32)
6 set (CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
7 set (CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
8 set (CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)