mirror of
https://github.com/Lorenzooone/cc3dsfs.git
synced 2025-06-18 16:45:39 -04:00
18 lines
635 B
CMake
18 lines
635 B
CMake
# the name of the target operating system
|
|
SET(CMAKE_SYSTEM_NAME Linux)
|
|
set(CMAKE_SYSTEM_PROCESSOR x86_32)
|
|
|
|
# which C and C++ compiler to use
|
|
set(CMAKE_C_COMPILER "/usr/bin/i686-linux-gnu-gcc")
|
|
set(CMAKE_CXX_COMPILER "/usr/bin/i686-linux-gnu-g++")
|
|
|
|
# here is the target environment located
|
|
SET(CMAKE_FIND_ROOT_PATH /usr/lib/i386-linux-gnu)
|
|
|
|
# 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)
|