1b877906bSopenharmony_ci# Define the environment for cross-compiling with 64-bit MinGW-w64 GCC 2b877906bSopenharmony_ciSET(CMAKE_SYSTEM_NAME Windows) # Target system name 3b877906bSopenharmony_ciSET(CMAKE_SYSTEM_VERSION 1) 4b877906bSopenharmony_ciSET(CMAKE_C_COMPILER "x86_64-w64-mingw32-gcc") 5b877906bSopenharmony_ciSET(CMAKE_CXX_COMPILER "x86_64-w64-mingw32-g++") 6b877906bSopenharmony_ciSET(CMAKE_RC_COMPILER "x86_64-w64-mingw32-windres") 7b877906bSopenharmony_ciSET(CMAKE_RANLIB "x86_64-w64-mingw32-ranlib") 8b877906bSopenharmony_ci 9b877906bSopenharmony_ci# Configure the behaviour of the find commands 10b877906bSopenharmony_ciSET(CMAKE_FIND_ROOT_PATH "/usr/x86_64-w64-mingw32") 11b877906bSopenharmony_ciSET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) 12b877906bSopenharmony_ciSET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) 13b877906bSopenharmony_ciSET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) 14