mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-13 08:15:06 +00:00
15 lines
498 B
CMake
15 lines
498 B
CMake
set(CMAKE_SYSTEM_NAME Linux)
|
|
set(CMAKE_SYSTEM_PROCESSOR arm)
|
|
|
|
set(TARGET_PREFIX arm-linux-gnueabihf)
|
|
|
|
set(CMAKE_C_COMPILER ${TARGET_PREFIX}-gcc)
|
|
set(CMAKE_CXX_COMPILER ${TARGET_PREFIX}-g++)
|
|
set(PKG_CONFIG_EXECUTABLE ${TARGET_PREFIX}-pkg-config)
|
|
|
|
set(CMAKE_FIND_ROOT_PATH /usr/${TARGET_PREFIX} /usr/lib/${TARGET_PREFIX})
|
|
|
|
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
|
|
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
|
|
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE BOTH)
|
|
set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE BOTH)
|