mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
19 lines
607 B
Plaintext
19 lines
607 B
Plaintext
set(CMAKE_SYSTEM_NAME Astral)
|
|
set(CMAKE_SYSTEM_PROCESSOR x86_64)
|
|
|
|
set(CMAKE_FIND_ROOT_PATH /sysroot)
|
|
|
|
set(CMAKE_C_COMPILER x86_64-astral-gcc)
|
|
set(CMAKE_CXX_COMPILER x86_64-astral-g++)
|
|
set(CMAKE_Fortran_COMPILER x86_64-astral-gfortran)
|
|
|
|
# search for programs in the build host directories
|
|
SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
|
|
# for libraries and headers in the target directories
|
|
SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
|
|
SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
|
|
|
|
# flags for shared libraries
|
|
set(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-Wl,-soname,")
|
|
set(CMAKE_PLATFORM_USES_PATH_WHEN_NO_SONAME 1)
|