mirror of
https://github.com/oxen-io/lokinet
synced 2023-12-14 06:53:00 +01:00
11 lines
435 B
CMake
11 lines
435 B
CMake
set(CMAKE_SYSTEM_NAME ${CROSS_PLATFORM})
|
|
set(TOOLCHAIN_PREFIX ${CROSS_PREFIX})
|
|
set(CMAKE_FIND_ROOT_PATH /usr/${TOOLCHAIN_PREFIX})
|
|
|
|
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
|
|
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
|
|
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
|
|
|
|
set(CMAKE_C_COMPILER ${TOOLCHAIN_PREFIX}-gcc${TOOLCHAIN_SUFFIX})
|
|
set(CMAKE_CXX_COMPILER ${TOOLCHAIN_PREFIX}-g++${TOOLCHAIN_SUFFIX})
|
|
set(ARCH_TRIPLET ${TOOLCHAIN_PREFIX})
|