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