mirror of
https://github.com/wjakob/tbb.git
synced 2026-08-29 08:34:40 +08:00
9 lines
273 B
CMake
9 lines
273 B
CMake
# CMake toolchain file, cf. README.mingw_cross
|
|
SET(CMAKE_SYSTEM_NAME Windows)
|
|
IF("${GNU_HOST}" STREQUAL "")
|
|
SET(GNU_HOST x86_64-w64-mingw32)
|
|
ENDIF()
|
|
SET(CMAKE_C_COMPILER ${GNU_HOST}-gcc)
|
|
SET(CMAKE_CXX_COMPILER ${GNU_HOST}-g++)
|
|
SET(CMAKE_RC_COMPILER ${GNU_HOST}-windres)
|