set(CMAKE_SYSTEM_NAME Linux) set(CMAKE_SYSTEM_PROCESSOR arm) set(CMAKE_C_COMPILER arm-ztkp_openeuler-linux-gnueabi-gcc) set(CMAKE_CXX_COMPILER arm-ztkp_openeuler-linux-gnueabi-g++)