mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-26 21:57:16 +01:00
10 lines
286 B
CMake
10 lines
286 B
CMake
|
set(CMAKE_SYSTEM_NAME Linux)
|
||
|
set(CMAKE_SYSTEM_PROCESSOR ARM)
|
||
|
|
||
|
set(archOpts "-march=armv8-a")
|
||
|
set(ccOpts "")
|
||
|
set(CMAKE_C_COMPILER aarch64-linux-gnu-gcc)
|
||
|
set(CMAKE_CXX_COMPILER aarch64-linux-gnu-g++)
|
||
|
set(CMAKE_C_FLAGS "${archOpts} ${ccOpts}")
|
||
|
set(CMAKE_CXX_FLAGS "${archOpts} ${ccOpts}")
|