2021-05-12 17:50:12 +00:00
|
|
|
set(CMAKE_SYSTEM_NAME Linux)
|
|
|
|
set(CMAKE_SYSTEM_PROCESSOR x86_64)
|
|
|
|
|
2021-05-13 23:52:34 +00:00
|
|
|
set(triple x86_64-ffbuild-linux-gnu)
|
2021-05-12 17:50:12 +00:00
|
|
|
|
2021-05-13 23:52:34 +00:00
|
|
|
set(CMAKE_C_COMPILER ${triple}-gcc)
|
|
|
|
set(CMAKE_CXX_COMPILER ${triple}-g++)
|
2022-10-31 21:32:58 +00:00
|
|
|
set(CMAKE_RANLIB ${triple}-gcc-ranlib)
|
|
|
|
set(CMAKE_AR ${triple}-gcc-ar)
|
2021-05-13 23:52:34 +00:00
|
|
|
|
|
|
|
set(CMAKE_SYSROOT /opt/ct-ng/${triple}/sysroot)
|
|
|
|
set(CMAKE_FIND_ROOT_PATH /opt/ct-ng /opt/ct-ng/${triple}/sysroot /opt/ffbuild)
|
2021-05-12 17:50:12 +00:00
|
|
|
|
|
|
|
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
|
|
|
|
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
|
|
|
|
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
|