mirror of
https://github.com/Lorenzooone/cc3dsfs.git
synced 2025-06-18 16:45:39 -04:00
18 lines
649 B
CMake
18 lines
649 B
CMake
# the name of the target operating system
|
|
SET(CMAKE_SYSTEM_NAME Linux)
|
|
set(CMAKE_SYSTEM_PROCESSOR arm32)
|
|
|
|
# which C and C++ compiler to use
|
|
set(CMAKE_C_COMPILER "/usr/bin/arm-linux-gnueabihf-gcc")
|
|
set(CMAKE_CXX_COMPILER "/usr/bin/arm-linux-gnueabihf-g++")
|
|
|
|
# here is the target environment located
|
|
SET(CMAKE_FIND_ROOT_PATH /usr/lib/arm-linux-gnueabihf)
|
|
|
|
# adjust the default behaviour of the FIND_XXX() commands:
|
|
# search headers and libraries in the target environment, search
|
|
# programs in the host environment
|
|
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
|
|
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
|
|
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE BOTH)
|