mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-05 17:16:50 +08:00

See: https://cmake.org/cmake/help/latest/command/cmake_minimum_required.html > Changed in version 4.0: Compatibility with versions of CMake older than 3.5 is removed. Calls to cmake_minimum_required(VERSION) or cmake_policy(VERSION) that do not specify at least 3.5 as their policy version (optionally via ...<max>) will produce an error in CMake 4.0 and above. Change-Id: I0f920e259e7bf2354e1b475df2cf6f60e41aa681 Signed-off-by: Johnson Ding <johnson.ding@rock-chips.com>
10 lines
272 B
CMake
10 lines
272 B
CMake
SET(CMAKE_SYSTEM_NAME Linux)
|
|
SET(CMAKE_C_COMPILER "${TOOLCHAIN}gcc")
|
|
SET(CMAKE_CXX_COMPILER "${TOOLCHAIN}g++")
|
|
SET(CMAKE_SYSTEM_PROCESSOR "armv7-a")
|
|
#SET(CMAKE_SYSTEM_PROCESSOR "armv7-a_hardfp")
|
|
|
|
add_definitions(-fPIC)
|
|
add_definitions(-DARMLINUX)
|
|
add_definitions(-Dlinux)
|